Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Matching over multiple lines in a scalar

by Enlil (Parson)
on Oct 27, 2002 at 22:18 UTC ( [id://208387]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
    local $/ = undef;
    $info = <DATA>;
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
    80: Tag <test> found
    98: Tag <test> found
    Tag <test> found
    
  3. or download this
    $VAR1 = '29';
    $VAR2 = 'Tag <test> found';
    ...
    $VAR26 = 'Tag <test> found';
    $VAR27 = '5';
    $VAR28 = 'Tag <test> found';
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-20 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found