Front page | perl.beginners |
Postings from August 2009
Re: two questions
Thread Previous
|
Thread Next
From:
Telemachus
Date:
August 6, 2009 03:31
Subject:
Re: two questions
Message ID:
20090806103055.GA292@ilium.local
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.
Thread Previous
|
Thread Next