My example does that, except that my variable is named $name instead of $final. I assigned a static string to mine, but you could get a value into $name using any dynamic method you like, and then pass it to a subprocess (written in Perl or any other language) on the command line using backticks as I did.
Aaron B.
Available for small or large Perl jobs; see my home node.
In reply to Re^3: Use a Variable in a Separate Perl Script
by aaron_baugher
in thread Use a Variable in a Separate Perl Script
by NinjaOne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |