Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Multiple regex matches in single string

by hipowls (Curate)
on Apr 27, 2008 at 03:37 UTC ( [id://683106]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    local $/ = "\nend\n";
    while ( my $data = <DATA> ) {
    ...
    go
    two
    end
    
  2. or download this
    start
    go
    ...
    two
    end
    ==========
    
  3. or download this
    my $data = '';
    while ( my $line = <DATA> ) {
    ...
            $data = '';
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-24 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found