There's more than one way to do things | |
PerlMonks |
newbie quest for Image::Grabby lone5ive (Novice) |
on May 30, 2003 at 10:31 UTC ( [id://261801]=perlquestion: print w/replies, xml ) | Need Help?? |
lone5ive has asked for the wisdom of the Perl Monks concerning the following question:
Hello wiseones.. I am a newbie to perl and am wrestling with the Image::Grab module. I have got it working fine to grab the images that i want but, I am trying to workout how to use the Date and MD5 options. Having read the info on CPAN, elsewhere and doing a super search here.. I am still none the wiser. Here is my code..
# save image bit here I can see that i can use $image->date to see the date info for the file, which is in epochtime. Do I compare this with my local time or am i completely barking up the wrong tree? I would like to run script as a cronjob and only get the image if it has been updated. I have the MD5 module installed. Any advice would be appreciated, i know i still have alot to learn grasshopper! :o) Linux MDK9.0::Perl 5.8.0::Image::Grab 1.4
Back to
Seekers of Perl Wisdom
|
|