Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Capture Lookahead

by fishbot_v2 (Chaplain)
on Jul 26, 2005 at 11:46 UTC ( #478145=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
       print pos( $str ) . ": $1\n";
       pos( $str ) = $-[0] + 1;      # slide pos back to the left
    }
    
  2. or download this
    14: AGGGA
    21: TACAT
    25: GTTG
    55: GAAAAAAAG
    ...etc...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-02-12 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (390 votes), past polls