in reply to Re: How can you check to see if a file handle is already open?
in thread How can you check to see if a file handle is already open?
while(<DATA>) { chomp; if ($_ =~ m#^(\d+)/(\d+)/(\d+)\s+.*admin2;user) { open(FH$3, ">$3.$2.$1"); print "$_\n" FH$3; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How can you check to see if a file handle is already open?
by moritz (Cardinal) on Jan 16, 2008 at 16:46 UTC | |
|
Re^3: How can you check to see if a file handle is already open?
by alexm (Chaplain) on Jan 16, 2008 at 17:58 UTC | |
|
Re^3: How can you check to see if a file handle is already open?
by mifflin (Curate) on Jan 16, 2008 at 19:58 UTC | |
|
Re^3: How can you check to see if a file handle is already open?
by Limbic~Region (Chancellor) on Jan 16, 2008 at 20:02 UTC | |
by agent_smith (Scribe) on Jan 16, 2008 at 22:16 UTC | |
by alexm (Chaplain) on Jan 17, 2008 at 09:01 UTC |