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

Re: Writing code that looks nice

by amir_e_a (Hermit)
on Apr 12, 2010 at 15:30 UTC ( [id://834296] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for ($string) {
        s/^\s+//;
        s/\s+$//;
    }