Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 rifling through the Monastery: (7)
As of 2014-09-16 05:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (156 votes), past polls