Jeff Pang schreef:
next if $file =~ /^\.+$/;
You'll miss a file called
Consider:
next unless -f $path/$file;
See `perldoc -f -f`.
--
Affijn, Ruud
Gewoon is een tijger.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I am reading all the files in a directory through readdirNow after
reading each of the file and processing it, I want to write their output one
by one to a different
directory.
Please suggest on how can this be done?
Thanks,
Mihir
-Original Message-
From: Mihir Kamdar [EMAIL PROTECTED]
Sent: Aug 2, 2007 2:26 AM
To: beginners beginners@perl.org
Subject: Opening a directory for writing
Hi,
I am reading all the files in a directory through readdirNow after
reading each of the file and processing it, I want
Hi,
I am reading all the files in a directory through readdirNow after
reading each of the file and processing it, I want to write their output
one
by one to a different
directory.
Please suggest on how can this be done?
What have you tried? Your question does not say what exactly