Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Matching Newlines in RegExp

by orderthruchaos (Scribe)
on Jun 14, 2004 at 19:50 UTC ( #366674=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    for ( my $i = 0 ; $i < @parts ; $i++ ) {
      print "$i:  $parts[$i]\n";
    }
    
  2. or download this
    % ./test.pl
    3
    ...
     new lines and single
    1:  quotes
    2:   more than' once
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2014-07-31 17:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls