On our install the TPP bin dir isn't in $PATH, and the TPP executables
are often called from outside of the bin dir. This results in the
tpplib_perl.pm calls to tpp_hostname not being able to find the
tpp_hostname executable. To get around this I modified the
tpplib_perl.pm code to use FindBin (which is in perl core). As long as
the script using the module is in the same place then it will be able
to find tpp_hostname.

It's a pretty trivial change, but wondered if it is worth including?

** Added **
use FindBin;
my $tpp_hostname = "$FindBin::Bin/tpp_hostname";

Then all of the backticks calls to tpp_hostname call $tpp_hostname
instead

DT
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/spctools-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to