Please remove me from this list! Thank you!
RRCA
Please remove me from this list! Thank you!
RRCA
Gladstone Daniel - dglads wrote:
What would be the simplest way to remove leading and trailing blanks
from a user input?
To remove just blanks (but preserving possible trailing newline):
s/^ +//, s/ +$// for $input;
To remove all whitespace:
s/^\s+//, s/\s+$// for $input;
I like this i
On 1/19/06, Gladstone Daniel - dglads <[EMAIL PROTECTED]> wrote:
> What would be the simplest way to remove leading and trailing blanks
> from a user input?
>
> Daniel Gladstone ([EMAIL PROTECTED])
snip
One easy way to do it would be to use a regex:
#!/usr/bin/perl
$input = <>;
chomp($input);
pri
> Greetings list
Go to cpan and check out Mail::Sender or Net::SMTP
>
> does anyone have the script which uses the minimal LIB or
> modules to send an email to the administrator..
HTH
Dmuey
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]