Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 taking refuge in the Monastery: (9)
As of 2016-09-29 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (550 votes). Check out past polls.