Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

s/PATTERN/func()/em leaks /m into func()

by jesuashok (Curate)
on Apr 21, 2006 at 11:30 UTC ( #544852=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub xxx {
    my $s = shift;
    $s =~ s/^\n+//;
    $s;
    }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    # B'
    # Looks like you failed 1 test of 1.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://544852]
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 2020-02-29 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (128 votes). Check out past polls.

    Notices?