Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Reading file contents

by d5e5 (Beadle)
on Jul 04, 2011 at 20:05 UTC ( [id://912697]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Reading file contents
in thread Reading file contents

Look at line 44 of your script:

sysopen(my $FH,$path,O_RDONLY) or die "Could not open $path the 2nd time";

You have already declared $FH so the my declares it again which masks the previously declared variable of the same name.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-19 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found