Re: perlfaq4: How do I strip blank space from the beginning/end of a string?

[email protected] (_brian_d_foy) Fri, 01 Apr 2005 13:25:22 -0600
Newsgroups perl.perlfaq.workers
Message-ID <010420051325227525%[email protected]>
In article <[email protected]>,
Steven Schubiger <[email protected]> wrote:

> On 31 Mar, _brian_d_foy wrote:
> 
> :    while( <> )
> :       {
> :       s/^\s+|\s+$//g;
> :       print "$_\n";
> :       }
> 
> Shouldn't we stick to perlstyle in terms of indentation width?

sure. perlstyle says there is a four-column indent, just like
you see there. :)

-- 
brian d foy, [email protected]