Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE: Favorite Symbol Variable

by radixzer0 (Beadle)
on May 17, 2000 at 00:14 UTC ( #11956=note: print w/ replies, xml ) Need Help??


in reply to Favorite Symbol Variable

$_ RULZ
Seriously, though, how can you not like a variable that is so useful that 95% of the time you dont even need to reference it explicitly.

Or, on the other hand, how can you not pick $_ when you (intentionally or not) use it more than any other?

Be one with the $_.....
-r0


Comment on RE: Favorite Symbol Variable
Replies are listed 'Best First'.
RE: RE: Favorite Symbol Variable
by greatnorthern (Initiate) on May 19, 2000 at 13:16 UTC
    Thing is, you barely ever have to type $_ - despite it being implicitly used millions of times each day.
RE: RE: Favorite Symbol Variable
by guice (Scribe) on May 18, 2000 at 21:15 UTC
    Well .. I use it so often, I don't even think of it as there. It's became, well ... default. It's the most useful variable in Perl, but cause I use it so much, I don't see it as a 'kewl' variable. You can't 'do' much with it. Where $\ and $" actually let you play with how things are displayed. Just like CDs where kewl and most useful for ditital media until it's so popular, it's not longer 'kewl'.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-09-04 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (148 votes), past polls