Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Matching Newlines in RegExp

by orderthruchaos (Scribe)
on Jun 14, 2004 at 19:50 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://366674]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found