Re: Intermittent error in Included script

2002-01-08 Thread Joshua Chamas
"John D. Leonard II" wrote: > ... > WeekOfYear()is exported in ISG::CourseTools. The ISG::CourseTools > module was created using "h2xs" from the command line. My module test > script "t/weekofyear.t" works properly. Here is the top of my module: > ... Sorry to take so long to get back to you o

RE: Intermittent error in Included script

2002-01-03 Thread John D. Leonard II
Joshua: > > > > use HTML::TreeBuilder; > > use ISG::CourseTools; > > > > In what package is WeekOfYear() defined and how it is > supposed to be exported into the global.asa package? Is it > using Exporter? Make sure that the package that defines > WeekOfYear() and exports it is used in glo

Re: Intermittent error in Included script

2002-01-03 Thread Joshua Chamas
"John D. Leonard II" wrote: > > 2) Intermittently, the script works, or fails with a "Undefined > subroutine" error associated with "WeekOfYear" > > 3) The subroutine "WeekOfYear" is contained in a handrolled PM file. On > this server I don't have admin access, so I'm PUSHing the location of >

Intermittent error in Included script

2002-01-03 Thread John D. Leonard II
All: 1) I'm getting an intermittent error while executing a script. Here is the code: #== Test <% print < EOF print "Current week of year: " . WeekOfYear(); print "Week of year for May 1, 2002: " . WeekOfYear(2002,5,1); print ""; %> # ==