Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
[Perl300]: Hi all

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-10-17 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (233 votes). Check out past polls.

    Notices?