foreach my $file (</pathname/*>) {
Yuck. Using glob is an excellent idea (I've never seen the utility in opendir()), but for the sake of sanity use the function form instead:
foreach my $file (glob("/pathname/*")) {
=cut
--Brent Dax
There is no sig.
In reply to Re: Re: STUPID STUPID STUPID old me.
by BrentDax
in thread STUPID STUPID STUPID old me.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |