Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Possible bug with array pointer

by SuicideJunkie (Vicar)
on Jan 10, 2017 at 16:30 UTC ( #1179335=note: print w/replies, xml ) Need Help??


in reply to Possible bug with array pointer

What did you expect s/^_//g to do if not remove the underscore?

I believe the answer is that the loop values are aliased so that things exactly like what you wrote will DWIM

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2021-10-16 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (70 votes). Check out past polls.

    Notices?