in reply to Re^2: Use a Variable in a Separate Perl Script
in thread Use a Variable in a Separate Perl Script

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.