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 (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 studying the Monastery: (14)
As of 2014-09-30 18:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (379 votes), past polls