in reply to How to call particular parameter from another configuration file in perl
I think there are two questions you should ask yourself:
The first is easy enough: insert print "\$ApID='$ApID'\n" before you spawn the command. This assumes $ApID contains all printable characters. If not, you may need to enlist the aid of Data::Dumper, Data::Dump, YAML, JSON, or whatever your favorite dumper/serializer is.
The second is harder, because it may not be obvious what the shell is doing with what you have given it. If you can modify $path/CA.sh, have it echo $ApID and see what you get.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to call particular parameter from another configuration file in perl
by Anonymous Monk on Jun 11, 2021 at 05:59 UTC | |
by choroba (Cardinal) on Jun 11, 2021 at 08:33 UTC | |
by Prakee (Initiate) on Jun 11, 2021 at 10:25 UTC | |
by hippo (Archbishop) on Jun 11, 2021 at 10:39 UTC | |
by afoken (Chancellor) on Jun 11, 2021 at 10:41 UTC | |
by Prakee (Initiate) on Jun 11, 2021 at 11:53 UTC | |
|