"be consistent" | |
PerlMonks |
Re: Newbie: need algorithm to evaluate no file existby murugu (Curate) |
on Aug 18, 2010 at 15:16 UTC ( [id://855801]=note: print w/replies, xml ) | Need Help?? |
Hi,
As kennethk pointed, use a flag inside the loop and check itoutside and send mail according to the flag value. Is there any specific reason to create @files array instead of using $ftp->ls directly in loop? Is it for @files reuse in the other parts of the code? Regards,
In Section
Seekers of Perl Wisdom
|
|