Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Error in my Regular expression pattern

by Anonymous Monk
on Mar 18, 2012 at 07:28 UTC ( #960267=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     print "pos is ", pos, ", remainder '", substr($_, pos), "'\n";
    pos($_) = undef;
    
  2. or download this
    Number of occurences = 1
    pos is 7, remainder ' twinkle little star'
    Found 2 times
    
  3. or download this
     my $count =()= m/twinkle/ig;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://960267]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2016-12-02 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (51 votes). Check out past polls.