Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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).

Comment on Re^3: split line from one point
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (18)
As of 2014-12-22 21:24 GMT
Find Nodes?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?

    Results (130 votes), past polls