good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
using .profile in perlby Anonymous Monk |
on Feb 20, 2006 at 00:20 UTC ( [id://531308]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I need to do set variables in a perl script. So, I need to do something like this...
. /home/apps/profile in a perl script. Although this works on the command line, but in the script, when I do `. /home/apps/profile` it doesn't set variables when I call from within this script. Can anyone offer any suggestions as to why this's going wrong? Thank you all in advance for your time.
Back to
Seekers of Perl Wisdom
|
|