Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: What is the scope of $_?

by Athanasius (Abbot)
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2015-07-06 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (84 votes), past polls