Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Split using special charater data type scalar

by jwkrahn (Monsignor)
on Mar 25, 2013 at 18:42 UTC ( #1025362=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        $text =~ s/[\s|\n]*//g;
    
  2. or download this
        $text =~ s/[ \t\n\r\f|\n]*//g;
    
  3. or download this
        $text =~ s/\s+//g;
    
  4. or download this
        $text =~ s/^[---]+//;
    
  5. or download this
        $text =~ s/^[-]+//;
    
  6. or download this
        $text =~ s/^-+//;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025362]
help
Chatterbox?
[marto]: ignore me!
[marto]: youtubes warning
erix's frame of reference is again woefully inadequate

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2018-02-21 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (279 votes). Check out past polls.

    Notices?