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

Since you are also create the bash script, create it in a way that it will pass on the requested value to PerlScript2 - either as an argument, or via the environment, depending on your taste.

-- 
Ronald Fischer <ynnor@mm.st>