Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by choroba (Archbishop)
on Dec 21, 2018 at 16:59 UTC ( #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
Node Status?
node history
Node Type: note [id://1227575]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2020-11-26 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?