Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 meditating upon the Monastery: (11)
As of 2014-07-29 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (226 votes), past polls