Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Using special characters in left part of a regex match?

by shamat (Novice)
on Feb 05, 2013 at 22:37 UTC ( #1017293=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $var[0] = "Gallia est omnis divisa in partes tres";
    $var[1] = "Gallia est omnis divisa in ...";
    ...
    $var[8] = "Gallia ... divisa ... tres";
    $var[9] = "... tres";
    $var[10] = "quattuor";
    
  2. or download this
    for ($i=0;$i<=$#var;$i++) {
        $var[$i] =~ s/\.\.\./\.\+/g;
    ...
        }  
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1017293]
Approved by mildside
Front-paged by mildside
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-09-22 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (200 votes), past polls