Re: Looping through readdir()

2002-09-26 Thread Dharmender Rai
perldoc -f readdir --- [EMAIL PROTECTED] wrote: > Hello, All: > > When using... > > while ($x = readdir(DH)) { > # What came before $x? > # What will come after $x? > } > > How can I look at the next item in the directory? > > -- > Eric P. > Sunnyvale, CA > > > -- > To unsubs

Re: Looping through readdir()

2002-09-25 Thread david
[EMAIL PROTECTED] wrote: > Hello, All: > > When using... > > while ($x = readdir(DH)) { > # What came before $x? > # What will come after $x? > } > > How can I look at the next item in the directory? > i don't really know what you mean by before or after. directoris are not really in any or

Re: Looping through readdir()

2002-09-25 Thread Bob Showalter
- Original Message - From: <[EMAIL PROTECTED]> To: "Beginners Perl Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 3:33 AM Subject: Looping through readdir() > Hello, All: > > When using... > > while ($x = readdir(DH)) { > #

Looping through readdir()

2002-09-25 Thread eric-perl
Hello, All: When using... while ($x = readdir(DH)) { # What came before $x? # What will come after $x? } How can I look at the next item in the directory? -- Eric P. Sunnyvale, CA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED