go ahead... be a heretic | |
PerlMonks |
Re: opendir, readir into @array in one line?by nardo (Friar) |
on Jul 23, 2001 at 20:12 UTC ( [id://99067]=note: print w/replies, xml ) | Need Help?? |
@array = readdir(DIR) if(opendir(DIR, $dir));
In Section
Seekers of Perl Wisdom
|
|