Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-10-20 05:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (72 votes), past polls