Re: Opening a directory for writing

2007-08-08 Thread Dr.Ruud
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]

Opening a directory for writing

2007-08-02 Thread Mihir Kamdar
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

Re: Opening a directory for writing

2007-08-02 Thread Jeff Pang
-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

Re: Opening a directory for writing

2007-08-02 Thread rcook
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