dylanthomasfan wrote:
Hi All,
Hello,
I already know of a way to do the following, but I want to know the
simplest way to do this in perl:
I have an input string which is of the following form:
((a+b)*c)*(e+f*(g+h-i*(j+k)))+u
I want to know how to split it easily so that I end up with an
dylanthomasfan wrote:
> Hi All,
>
> I already know of a way to do the following, but I want to know the
> simplest way to do this in perl:
>
> I have an input string which is of the following form:
>
> ((a+b)*c)*(e+f*(g+h-i*(j+k)))+u
>
> I want to know how to sp
Hi All,
I already know of a way to do the following, but I want to know the
simplest way to do this in perl:
I have an input string which is of the following form:
((a+b)*c)*(e+f*(g+h-i*(j+k)))+u
I want to know how to split it easily so that I end up with an array
@tokens, which has the
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
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
What would be the simplest way to remove leading and trailing blanks
from a user input?
Daniel Gladstone ([EMAIL PROTECTED])
***
The information contained in this communication is confidential, is
intended only for the use
> 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]
Greetings list
does anyone have the script which uses the minimal LIB or modules to send an
email to the administrator..
I already have got cgiemail running.. but I want to customize it .. and it
wont let me!..
So I decided to look at other options where they all have there own
requirements..
10 matches
Mail list logo