Mebbe something like this?

sub ls { for (<$_[0]/*>) { print "$_\n"; ls($_) if -d; } }

ls ".";

On Tue, 16 Oct 2001, The Black Man wrote:

> Date: Tue, 16 Oct 2001 08:10:31 -0700 (PDT)
> From: The Black Man <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Listing directory contents
>
> Hi all,
>
> Is there a command to recursively list the contents of
> a directory, and all subdirectories?
>
> Thanks,
>
> James
>
> =====
> "Still pond, frog jumps in. Splash!"
>
> "There he goes...one of God's own prototypes.
> A high-powered mutant of some sort, never meant for mass production...
> Too weird to live, and too rare to die..."
>
> AIM: TaoJonesin
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to