Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Able to open file, unable to read

by Apero (Scribe)
on May 13, 2016 at 20:36 UTC ( [id://1162989]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    cp /dev/null file.txt
    perl ./y1.pl
    echo "hello world" > file.txt
    perl ./y1.pl
    
  2. or download this
    use strict;
    use warnings;
    ...
    close($fh) or die "close() failed: $!";
    printf( "Got a line: %s", $line // '<line-was-undef>' );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found