How can I call dot command inside Perl script?
Hi
I want to transfer files from one server to another using .put and .get command. But all my scripts are in a Perl file. Each BF step just calls a function in that Perl, not directly write command inside a BF step.
How can I use .get command inside a perl script? I can run .get directly inside a doc command windows so I guess I can't do this? `.put ${FILE} rfksappd02_c999752:dummy`;
Thanks
Jirong
|
2 answers
I do not believe that you can run a dot command inside of a script executed by a step (I believe that the dot command is evaluated/executed before passing the control to the shell/script).
|
The dot command is specific to the Build Forge engine. However in your example you could put the "${FILE} rfksappd02_c999752:dummy" part into a temporary variable (see .tset) in Build Forge and reference it in a subsequent .put command.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.