[EMAIL PROTECTED] wrote:
Friends,Try doing this instead: (untested)
I am running a perl script as below which is working perfectly and want to replace the hardcoded values with variables. (the script accepts space as the delimiter)
@respon = $placesock->print("./test.pl \"7741266\" \"DEM EXPO\" \"255.255.255.255\" \n");
and i am doing this
@respon = $placesock->print("./test.pl." ".$param1." ".$param2." ".$param3
\n");
@respon = $placesock->print("./test.pl \"$param1\" \"$param2\" \"$param3\"\n");
Whats the mistake i am commiting.HTH,
i m getting the following error message...
String found where operator expected at mybly.pl line 263, near ""./test.pl . " " . $param1."" (Missing operator before " . $param1."?) panic: realloc at mybly.pl line 263.
---------------------------------------------------------------------------- ----------------
regards,
Ajitpal Singh,
Chuck
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>