Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: binding operator

by Anonymous Monk
on Jul 21, 2020 at 17:58 UTC ( #11119616=note: print w/replies, xml ) Need Help??


in reply to binding operator

Also: I don't think that you can say: my $_. That's a special Perl predefined name ... which I don't recommend that you use. Use my to create a local variable-name as you did in the second case.

Replies are listed 'Best First'.
Re^2: binding operator
by Anonymous Monk on Aug 06, 2020 at 16:36 UTC
    $_ is a special Perl predefined name ... which I don't recommend that you use

    Your recommendations mean nothing. Using $_ is best practice, in most situations.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2020-09-30 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (158 votes). Check out past polls.

    Notices?