|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: How to efficiently parse "ls -a"?by thargas (Hermit) |
| on Dec 16, 2011 at 14:19 UTC ( #943949=note: print w/ replies, xml ) | Need Help?? |
|
How about ls -a1 That's the lowercase of the letter A followed by the digit one. It'll get you the list of file-names one per line. Unless you're concerned about silly file-names including newlines.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||