[rt-users] Basic question about running a perl script in RT

G.Booth G.Booth at lboro.ac.uk
Tue Nov 9 09:08:30 EST 2010


On Tue, 09 Nov 2010 11:39:18 +0000
  Giles Bradshaw <giles.bradshaw at SiGyl.com> wrote:
> 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



More information about the rt-users mailing list