Howdy.
I've created a Perl file (say, $iwhome\local\bin\shared.ipl) with some commonly shared code between presentation templates.
When compiling a presentation template (on a Windows 2000 machine running TST 5.5.2 w/ SP2) that "requires" shared.ipl, I'm getting:
Use of uninitialized value at (eval 17) line 31.
Use of uninitialized value at (eval 17) line 49.
Which file are those line numbers in?
And I'm getting:
Undefined subroutine &TeamSite:

T:lithiumiw_xml_generated_0::iwpt_dcr_value called at d:\iw-home\local\bin\\shared.ipl line 145.
I have this in shared.ipl, inside a subroutine:
$registrydcr = iwpt_load_dcr("\\templatedata\\components\\PC000_Jobs\\data\\job1","docroot","t");
$department_name = iwpt_dcr_value('registrydcr.department');
Interestingly, the iwpt_load_dcr routine seems to work alright.
I don't have any "use" or "package" directives at the top of shared.ipl. Should I?
When running iwgen, I'm getting:
Use of uninitialized value at (eval 52) line 49.
Error: NextExtAttr failed
Error: NextExtAttr failed
Could not process template: ...\overview_departments.tpl
Help!
Thanks,
S.