Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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

Replies are listed 'Best First'.
Re^2: Change Image File Timestamp to Match EXIF Data
by toolic (Bishop) 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?
[stevieb]: perldigious: video near our hq in Montreal. Here in Calgary, it's -28c... we've only got 3" of snow so far, but there are several feet in the mountains already
[perldigious]: Snowshoeing time stevieb? I need to buy a pair so I can walk my German Shepherd properly through the country.
[stevieb]: yeah, I snowshoe a fair amount in the mountains. I also use spikes similar to these very often as well
[perldigious]: Discipulus: alternate link
[stevieb]: LOL you can easily replace "Helsinki" with "Alberta"
[perldigious]: I used to live at the top of a very steep hill stevieb, I can relate to the video. Literally used to have to build up momentum and try to force my vehicle to make it up the hill to park in my driveway properly... didn't always make it.
[choroba]: Why don't they use tire chains?
[perldigious]: First snow, probably not prepared right away choroba.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2016-12-06 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (112 votes). Check out past polls.