Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: What does 'global' (/g) do in a regexp in this particular case?

by Anonymous Monk
on Apr 09, 2013 at 14:10 UTC ( #1027748=note: print w/ replies, xml ) Need Help??


in reply to Re^3: What does 'global' (/g) do in a regexp in this particular case?
in thread What does 'global' (/g) do in a regexp in this particular case?

See Re: What does 'global' (/g) do in a regexp in this particular case? (pos bug) -- don't know how I managed to fool myself that adding scalar shows different behaviour -- that the context is list -- but I did fool myself

Anyway, manual reset  pos($_)=0 for @AllColumns;


Comment on Re^4: What does 'global' (/g) do in a regexp in this particular case?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-09-17 04:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (57 votes), past polls