|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: get directory listingby pg (Canon) |
| on Nov 08, 2005 at 07:09 UTC ( #506629=note: print w/ replies, xml ) | Need Help?? |
|
Use -d to determine whether it is a directory. By the way, don't chop(), but chomp() if it is needed. The following code was tested on Windows XP, don't have UNIX access handy:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||