No such thing as a small change | |
PerlMonks |
Re: Unsuccessful and Uninitialized Valueby jpeg (Chaplain) |
on Jun 05, 2006 at 20:02 UTC ( [id://553682]=note: print w/replies, xml ) | Need Help?? |
Some crude debugging would help. Check to see if the file exists before you stat it, and establish a default value: The uninitialized warning is generated because $new_max is not a number yet.
Here's how I'd do it:
-- jpg
In Section
Seekers of Perl Wisdom
|
|