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

Re^4: search position is getting reset after 'local'

by dave_the_m (Monsignor)
on Jun 12, 2006 at 13:35 UTC ( [id://554813]=note: print w/replies, xml ) Need Help??


in reply to Re^3: search position is getting reset after 'local'
in thread search position is getting reset after 'local'

I'm wondering what's wrong with local() then, since your equivalent does work as you would expect local to act
It's to do with how magic attached to the value (eg pos magic) is sometimes copied to the new value, and sometimes copied back at the end. For example, a localised %ENV still needs to affect environment variables.

It's on my Big List of Things To Fix At Some Point.

Dave.

  • Comment on Re^4: search position is getting reset after 'local'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-24 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found