Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by ikegami (Pope)
on Dec 22, 2018 at 00:56 UTC ( #1227593=note: print w/replies, xml ) Need Help??


in reply to Re^3: Declare my variable in sysread - Mojo::File::slurp
in thread Declare my variable in sysread - Mojo::File::slurp

Yes, = is an operand of defined, but your whole point is that sysread($file, my $buf, ...) is like defined(my $line), but your code doesn't use defined(my $line).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2019-12-15 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?