Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Declare my variable in sysread - Mojo::File::slurp

by choroba (Cardinal)
on Dec 21, 2018 at 16:59 UTC ( [id://1227575]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (my $line = <$fh>) {
    
  2. or download this
    while (defined( my $line = readline($fh) )) {
    
  3. or download this
    if (my $x = func()) {
        print "$x accesible here";
    ...
       print "and also here: $x";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-04-16 17:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found