I am trying to get rt3.* working with reporter.pl. I have noticed that
the include “…/etc/RT_Config.pm”
gives an error :
Undefined subroutine &RT::SET called at …/etc/RT_Config.pm line 27.
This is the first set function.
Anyone tell me whats wrong here?
Regards,
/Geo
georget@ach.org.au
George Travan wrote:
I am trying to get rt3.* working with reporter.pl. I have noticed that
the include “…/etc/RT_Config.pm”
gives an error :
Don’t “use” or “require” that file. Instead, you should:
use RT;
RT::LoadConfig();
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
[Please keep list discussion on the list. Thanks.]
George Travan wrote:
I now get Can’t locate RT.pm… funny as RT seems to work, other than
having missing “Keywords” ;(
use lib /opt/rt3/lib;
before you “use RT”.
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
Phil Homewood wrote:
use lib /opt/rt3/lib;
How’d I manage that? What I mean, of course, is:
use lib “/opt/rt3/lib”;
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances