Prakee has asked for the wisdom of the Perl Monks concerning the following question:
>my $confdir = $ENV{$CFG_DIR}; >my $conffile = 'LED.cfg'; >my $LEDcfg = "$confdir/$conffile"; >cat /abcd/efgh/LED.cfg ApID=APXD_IERF user=MATT JOBCD=1357 Script coding as below: >my $ApID = $LEDcfg->param(".ApID") ## passing the parameter ApID from + configuration file >my $pwd = `(ApID=$ApID $path/CA.sh)`; ## running shell script by ApID + parameterized => Failed >my $pwd = `(ApID=APXD_IERF $path/CA.sh)`; ## running shell script by +ApID hardcoded => Succeeded
|
|---|