Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Passing value outside of loopby Arien (Pilgrim) |
on Jan 08, 2003 at 08:04 UTC ( [id://225213]=note: print w/replies, xml ) | Need Help?? |
That's a lot of code just to see if there's a file $file in $dir. Use Perl's file tests:
— Arien
In Section
Seekers of Perl Wisdom
|
|