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

Re^3: split line from one point

by moritz (Cardinal)
on Oct 19, 2011 at 12:36 UTC ( #932382=note: print w/ replies, xml ) Need Help??


in reply to Re^2: split line from one point
in thread split line from one point

That means that the first open() call failed. Either use autodie; in the beginning, or write your calls as
open my $IN, '<', 'transaction' or die "Cannot open 'transaction' for +reading: $!"; ... while (<$IN>) { ... }

(And adapt the code for the second file accordingly).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932382]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (1)
As of 2016-07-31 02:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (269 votes). Check out past polls.