Mailing List Archive

Perl problem
To One and All in Perl-land...

I am having some problems with perl and parsing:

Namely, I try to exec a Netscape command with a URL appended with
FORM data that are delimited by "&"'s . The problem is that only the data
prior to the first instance of a "&" gets past to Netscape as a URL. I tried
to encapsulate the URL within quotes, but no go. Below is a copy of the code
segment that is having problems.

$URL_arg="lifeline=$Life_Line_Status&host=$Monitored_Host&filesystem=$Agent_Item
_FS&status=$Status";
$Options = "\"http://dsmprod/cgi-bin/lifeline?$URL_arg\"";
$COMMAND = "rsh -l gisop dsmprod \"$NETSCAPE -display cairo:0.0 $Options\"";
exec($COMMAND);

I would appreciate any assistance.

Cheers,
rob
--------------------------------------------------------------------------
Robert F. Marano __o o__ o__ o__ o__
Merrill Lynch & Co. _ \<,_ _.>/ _ _.>/ _ _.>/ _ _.>/ _
rmarano@ml.com (_)/ (_) (_) \(_) (_) \(_) (_) \(_) (_) \(_)