On 6/13/07, John W. Krahn <[EMAIL PROTECTED]> wrote:
Dr.Ruud wrote:
> [EMAIL PROTECTED] schreef:
>
>> I need a program that will list all of the files in a directory.
>> Without any arguments the program will list only the files (not
>> directories) in the current directory.  But I must have some
>> command line options: [...]
>
> Might be a 1-liner with usage of IO::All.

Go for it!!    :-)
snip

Okay,

perl -MIO::All -e '$,=$/;print @{io(pop or".")},""'

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to