Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^8: Hard syntax error or disambiguable parsing?

by NateTut (Deacon)
on Feb 16, 2009 at 16:52 UTC ( [id://744132]=note: print w/replies, xml ) Need Help??


in reply to Re^7: Hard syntax error or disambiguable parsing?
in thread Hard syntax error or disambiguable parsing?

Well I have run into occasions where I would like use a previously declared variable as the loop variable in a situation like this. I know I can always just set a predeclared variable to be equal to the local loop variable, but that seems messier to me. Don't get me wrong I really like the local loop variable feature I would just like to "turn it off" occasionally. I probably don't understand some basic concept here most likely...

Replies are listed 'Best First'.
Re^9: Hard syntax error or disambiguable parsing?
by Jenda (Abbot) on Feb 16, 2009 at 17:42 UTC
      I think I misunderstood the issue. I tried to build a test script to illustrate but it didn't work as I expected (I was able to do what I said I couldn't earlier).

      When I ran into what I thought was this problem in the past it must have been something else.

      Sorry.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-19 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found