y, September 15, 2001 6:09 AM
To: [EMAIL PROTECTED]
Subject: Directory scan
Hello,
I need to scan a directory and generate a list of its files...
(preferably a txt with all the filenames)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To un
On Sat, Sep 15, 2001 at 10:00:41AM -0700, Wagner-David wrote:
> while ( 1 ) {
>$filein = <*.txt>;
>last if ( ! defined $filein );
># other processing
> }
Or you could be a little more concise:
while ($filein = <*.txt>) {
# other processing
}
M
essage-
From: Anton Arhipov [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 15, 2001 04:09
To: [EMAIL PROTECTED]
Subject: Directory scan
Hello,
I need to scan a directory and generate a list of its files...
(preferably a txt with all the filenames)
--
To unsubscribe, e-mail: [EMAIL PRO
Hello,
I need to scan a directory and generate a list of its files...
(preferably a txt with all the filenames)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]