RE: PerlEx, namespace, and it used to work
by Jonathan Eisenhamer other posts by this author
Sep 22 2005 6:21AM messages near this date
RE: PerlEx, namespace, and it used to work
|
RE: PerlEx, namespace, and it used to work
SERVICES The example would be:
File subroutines.pl:
*******
....
sub theSub {
}
....
File main.plex:
********
....
require 'subroutines.pl';
....
$avar = &theSub($otherpars...);
...
When main.plex is run from the command line, every is fine. When called
through the webserver running PerllEx, it fails with an 'undefined function
"theSub"' error.
As stated, after reading the documentation, this is not completely unexpected.
However, this code apparently worked as written with PerlEx, and I'm
wondering if there is some registry or other global setup that needs to be
done to fix it.
Thanks,
jde
_______________________________________________
PerlEx mailing list
PerlEx@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Jonathan Eisenhamer
Henning Møller-Nielsen
Henning Møller-Nielsen
Jonathan Eisenhamer
David Hempy
|