Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: What is the scope of $_?

by Athanasius (Monsignor)
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 rifling through the Monastery: (7)
As of 2014-08-30 18:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls