Hi there,
how can I run a perl script through the RT environment so that I can
use the database and all the modules, but see the compiler output on
my faulty experiments?
- Gergely
Hi there,
how can I run a perl script through the RT environment so that I can
use the database and all the modules, but see the compiler output on
my faulty experiments?
Hi there,
how can I run a perl script through the RT environment so that I can
use the database and all the modules, but see the compiler output on
my faulty experiments?
- Gergely
use lib “/opt/rt4/lib”;
use RT;
That should be enough.
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
use lib “/opt/rt4/lib”;
use RT;That should be enough.
Don’t forget:
RT->Init;
RT->LoadConfig;
use lib “/opt/rt4/lib”;
use RT;That should be enough.
Don’t forget:
use lib "/opt/rt4/local/lib";
and
RT->Init;
RT->LoadConfig;
and
RT->Init; RT->LoadConfig;
Looking at my unit test scripts, I seem to have
RT::Init;
RT::LoadConfig;
There shouldn’t be a difference, should there?
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
use lib “/opt/rt4/lib”;
use RT;That should be enough.
Don’t forget:
RT->Init;
RT->LoadConfig;
Sorry! These are in the wrong order. I shouldn’t type before the espresso.
RT->LoadConfig;
RT->Init;