Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Using special characters in left part of a regex match?

by Kenosis (Priest)
on Feb 05, 2013 at 23:07 UTC ( #1017300=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    for ( 0 .. $#var ) {
        print distance( $var[0], $var[$_] ) . " - $var[$_]\n";
    }
    
  2. or download this
    Each string's 'distance' from "Gallia est omnis divisa in partes tres"
    +:
    
    ...
    18 - Gallia ... divisa ... tres
    33 - ... tres
    34 - quattuor
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-12-26 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls