Ooh ooh ooh! One I know!

open(COMMAND, "dir |");
@files = <COMMAND>;

Daniel

-----Original Message-----
From: Luinrandir [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 25, 2005 21:33
To: beginners@perl.org
Subject: Need a list of files in a dir.


How do I get the list of files in a DIR and put in an array?

I'm drawing a blank on my search for this.

thanks
Lou



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



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


Reply via email to