Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Can you assign to pos() in a s/foo/bar/g

by johngg (Canon)
on Feb 25, 2010 at 14:39 UTC ( #825303=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -E '
    > $_ = q{Bla class="x1" class="x2" class="x3" Blabla};
    ...
    > say;'
    Bla class="x1" class="x2" class="x3" Blabla
    Bla class="x1 x2 x3" Blabla
    
  2. or download this
    $ perl -E '
    > $_ = q{Bla class="x1" class="x2" class="x3" Blabla};
    ...
    Bla class="x1" class="x2" class="x3" Blabla
    Bla class="x1 x2 x3" Blabla
    $
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-11-25 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?