Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Matching over multiple lines in a scalar

by Enlil (Parson)
on Oct 27, 2002 at 22:18 UTC ( #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
Node Status?
node history
Node Type: note [id://208387]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2021-05-13 22:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (144 votes). Check out past polls.

    Notices?