Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Parsing for [] in a file

by Not_a_Number (Parson)
on Nov 17, 2011 at 18:38 UTC ( #938658=note: print w/replies, xml ) Need Help??

in reply to Parsing for [] in a file

I even tried this and I see no output for this though

Are you sure that File2 still contains the data that you think it does?

If you ran the first version of your code on it, the line:

open FILE2, ">$f2" or die "Could not open file: $! \n";

opens a file for writing, not reading. In other words, it clobbers any existing data in the file...

Replies are listed 'Best First'.
Re^2: Parsing for [] in a file
by HJ (Novice) on Nov 17, 2011 at 18:55 UTC
    Apologize. Dint meant to have a ">$f2". Had it corrected before posting it. Thanks for the reply.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938658]
[LanX]: obscure facts: only naturally born monks can become president here!
[cbeckley]: I have a functioning module I use to spawn sets of commands across multiple servers.
[cbeckley]: It's nascent, and probably looks like baby Perl to the veterans.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2017-03-24 14:56 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (304 votes). Check out past polls.