[EMAIL PROTECTED] wrote:
> Hi,
> I am calling a script with in a script and pass a parameter to it. The
> recieving script won't see the passed
> parameters.
>
> here is what I am doing:
>
> #defiend in the calling script
> my $termPort = 'port1';
>
> system 'xterm -bg yellow -fg black -rightbar -hold -T "TEST" -e perl
> /home/my-dir/test.pl $termPort';
>
if those are really single quotes, then there will be no expansion of
$termPort and you would see $termPort as the param into test.pl. Need to change
from the single quotes
Wags ;)
> then test.pl won't see the passed parameter - 'port1'
>
> I know I am doing something wrong - please help.
>
> SH
>
>
> _______________________________________________
> Perl-Win32-Users mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
*******************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
*******************************************************
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs