On Thu Aug 06 2009 @  2:29, sys adm wrote:
> I do hate to write s/^\s+|\s+$//g for each and each time,just got tired of it.
> So I hope perl can have that a string operator, since many script languages 
> have that, and it's used universally.

Write the subroutine once, and then you won't have to do much more typing
than you would in a language that has that as a built-in function.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to