Execute my perl from command line

What is the prefered way to execute my RT perl script(s) from the command line ?

If I do something like:-
perl -I…/lib -e 'use RT; RT::LoadConfig(); print RT::DatabaseType;'
It, probably correctly, fails with permission problems:-
RT couldn’t load RT config file /usr/local/Rt/rt-3.8.7/etc/RT_Config.pm as:
user: someuser
group: staff
The file is owned by user root and group www.

Same using sudo.

Ian