[ Please do not top-post! ]
Xiangli Zhang wrote:
Gunnar Hjalmarsson wrote:
Xiangli Zhang wrote:
I am trying to redirect from cgi1(with one string variable say
$str with value from its calling parent html form) to cgi2, I
know I can use redirect function of CGI model to implement
redirection.
But i
Anyone know example how to use "require" function
passing string variable?
thanks,
Note: forwarded message attached.
=
Xiangli Zhang (Justin)
306-310 Decaire Street, Coquitlam
BC, Canada, V3K 6X1
phone: 604-9399181
__
Do you Y
Xiangli Zhang wrote:
I am trying to redirect from cgi1(with one string variable say $str
with value from its calling parent html form) to cgi2, I know I can
use redirect function of CGI model to implement redirection.
But i don't know how to pass $str to cgi2 from cgi1.
If you print a &quo
I am trying to redirect from cgi1(with one string variable say $str with value from
its calling parent html form) to cgi2, I know I can use redirect function of CGI model
to implement redirection.
But i don't know how to pass $str to cgi2 from cgi1. Can anybody help me the question?
tha
you can use
$outstring=`ping -a $hostname | cut -c20-30`;
- Original Message - From: "Wiggins d Anconia"
<[EMAIL PROTECTED]>
To: "Werner Otto" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 20, 2004 7:46 PM
Subject: Re: String Variabl
> hi there,
>
> I've got the following example:
>
> system ("ping -a $hostname | cut -c20-30");
>
> how do I get the following result which is (is alive) into a string
> variable as I keep on getting 0
>
> Please help.
>
Seems like you mi
hi there,
I've got the following example:
system ("ping -a $hostname | cut -c20-30");
how do I get the following result which is (is alive) into a string
variable as I keep on getting 0
Please help.
Regards
Werner
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Shannon Murdoch) wrote:
> > From: [EMAIL PROTECTED] (Kevin Meltzer)
> > my @codes = split(/\s+/,$all_codes);
> Worked like a charm. While we're on the topic of deletion/exclusion of
> string elements when brought in to an array, how do I kill
Cc: [EMAIL PROTECTED]
> Subject: Re: Killing multiple ' ' spaces from a string/$variable
>
> Hi Shannon,
>
> Very close. You are allowed to use a pattern in a split.
>
> my @codes = split(/\s+/,$all_codes);
>
> Should give you what you want. This w
Hi Shannon,
Very close. You are allowed to use a pattern in a split.
my @codes = split(/\s+/,$all_codes);
Should give you what you want. This will split the string on 1 or more spaces.
Look at 'perldoc -f split' for more information.
Cheers,
Kevin
On Wed, Oct 03, 2001 at 09:47:11AM +1000, Sha
Hi all,
I'm trying to get this string (example):
$all_codes = '4c1 4- 4c2 4-8b1 8g1';
in to an array (@codes), using it's whitespace as the delimiter.
ie. @codes = split(/ /,$all_codes);
but I keep getting extra whitespace elements picked up into the array...:
'4c1,4-,4c2,4-, ,8b1,8g1'
11 matches
Mail list logo