Thanks Daniel.. and keep on TOP POSTING!

Gawd I hate bottom posting!

Lou Hernsen

(.. and so my children the war between the topposters and bottomposters
began
The topposters, light happy and joyous beings ; the bottomposters, smelly
and scragly
and living below the earth in tunnels and caves in the land of Scorch...
shaking there fists at the top posters.
"Oh.. they thought quietly to themselves, if WE could as free as you. But
since we
don't wanna, we will taunt you, and scold you and try to make you like us".
And the children of the top posters went on top posting. One day some of the
newer
top posters were throwing bread crumbs into the holes in the earth that lead
to the caverns
of the bottom posters when suddenly... a butterfly flew by and the children
of the
topposters followed it, happy and dancing and holding hands and not
listening to the grumblings,
coming from the holes in the ground, that lead to the caverns of the
bottomposters in the land of Scorch...
who lived unhappily ever after..)


----- Original Message ----- 
From: "Daniel Kurtz" <[EMAIL PROTECTED]>
To: <beginners@perl.org>
Sent: Friday, August 26, 2005 8:12 AM
Subject: RE: Need a list of files in a dir.


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>


Reply via email to