Do you know where your variables are? | |
PerlMonks |
Calling a setuid script in a perl scriptby hmadhi (Acolyte) |
on Nov 18, 2011 at 16:21 UTC ( [id://938877]=note: print w/replies, xml ) | Need Help?? |
I have two perl scripts: 1. getPwd.pl - setuid perl script that returns a password
2. testDBConn.pl I want to call getPwd.pl in the testDBConn.pl script and assign the result of the getPwd script to the $password variable to connect to a database. Remember the getPwd.pl script is setuid, and therefore setup for the testDBConn.pl to run getPwd.pl eg.
In Section
Seekers of Perl Wisdom
|
|