Basic question about running a perl script in RT

apologies for the v basic nature of this question.

I have written a perl script to add some users to RT. Obviously when I
run it straight from the linux command line it doesn’t function because
it isn’t running in within the instance of RT.

How do I run it within RT - ie with the @INC path set so perl can find
all the libraries etc?

apologies for the v basic nature of this question.

I have written a perl script to add some users to RT.
Obviously when I
run it straight from the linux command line it doesn’t
function because
it isn’t running in within the instance of RT.

How do I run it within RT - ie with the @INC path set so
perl can find
all the libraries etc?

Hi Giles

We run our perl scripts for user population etc from opt/rt3/local/bin

seems happy to run from here in terms of USE and PACKAGE etc

hope that helps

Garry