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

Re: Implicit assignment to $_

by grondilu (Friar)
on Feb 26, 2013 at 16:25 UTC ( [id://1020725]=note: print w/replies, xml ) Need Help??


in reply to Implicit assignment to $_

Your code:

"Test A"or"Test B"; print;
suggests you think $_ refers to the last evaluated expression. It does not. $_ is not python's underscore in interactive mode.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-16 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found