Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: multi line matching problem

by SquireJames (Monk)
on Dec 16, 2003 at 02:18 UTC ( #314950=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $data =~ y/\n/ /; # This will remove all newlines and replace them wit
    +h spaces
    
  2. or download this
    $data =~ s/\s+|\n/ /g;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2023-09-25 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?