Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Change Image File Timestamp to Match EXIF Data

by Paladin (Priest)
on Jun 01, 2009 at 08:56 UTC ( #767190=note: print w/ replies, xml ) Need Help??


in reply to Change Image File Timestamp to Match EXIF Data

Cool utility. A small suggestion for the next version: Instead of die()ing if it can't read a file, perhaps just warn() and skip to the next file so the rest still get processed.


Comment on Re: Change Image File Timestamp to Match EXIF Data
Re^2: Change Image File Timestamp to Match EXIF Data
by toolic (Chancellor) on Jun 01, 2009 at 15:32 UTC
    Does the -r file test guarantee that ImageInfo will be successful? I wonder if it would be better to omit the file test, then analyze the return status of ImageInfo to determine whether to proceed with processing. Of course, ImageInfo might just die anyway, in which case an eval might be useful to capture the failure.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://767190]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-10-21 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (103 votes), past polls