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

Re: What is the scope of $_?

by Athanasius (Chancellor)
on Nov 26, 2012 at 14:55 UTC ( #1005681=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub xyz()
    {
      foreach(4..5)
      {
        ...
    
  2. or download this
    sub xyz()
    {
      foreach local $_ (4..5)
      {
        ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005681]
help
Chatterbox?
beech my my /me me me me me me me chatterbox sidebar
beech testing chatterbox sidebar
[beech]: and something else

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-03-27 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (324 votes). Check out past polls.