Re: What is the simplest way to do this?

2008-04-04 Thread Rob Dixon
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 split it easily so that I end up

Re: What is the simplest way to do this?

2008-04-04 Thread John W. Krahn
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

Simplest Way

2006-01-19 Thread Gladstone Daniel - dglads
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

Re: Simplest Way

2006-01-19 Thread Chas Owens
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); print

Re: Simplest Way

2006-01-19 Thread Bob Showalter
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

Re: Simplest Way

2006-01-19 Thread RangerRickCA
Please remove me from this list! Thank you! RRCA

Re: Simplest Way

2006-01-19 Thread RangerRickCA
Please remove me from this list! Thank you! RRCA

Simplest way to send mail from CGI script

2003-07-02 Thread Voodoo Raja
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..

RE: Simplest way to send mail from CGI script

2003-07-02 Thread Dan Muey
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]