Howdy,

I am attempting to move a few subroutines from my Apache::ASP pages into a central 
module, but get the error:

Undefined subroutine &Apache::ASP::Demo::date_swap called at (eval 6) line 67. , 
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 1506 

Is there something funky in the Apache::ASP environment regarding how/where modules 
are handled?  The functions work when in the page, so I dont think there is an 
internal error there.  I am calling the module with a basic "use ASK" (ASK.pm is the 
module name).  The module has appropriate ownership/rights. 

I am especially curious why it is looking for dateswap under Apache::Demo::XXX

Any assistance appreciated.  This is my first module and so my error could be 
anywhere, as my ignorance is everywhere.

ASK

Andrew Koebrick
Web Coordinator/Librarian
MN-Planning (Office of Strategic and Long Range Planning)
658 Cedar St., Suite 300
St. Paul, MN 55155

651-296-4156 phone
651-296-3698 fax

www.mnplan.state.mn.us


Reply via email to