RE: PerlEx, namespace, and it used to work
by Henning Møller-Nielsen other posts by this author
Sep 22 2005 6:42AM messages near this date
RE: PerlEx, namespace, and it used to work
|
RE: PerlEx, namespace, and it used to work
SERVICES From: jonathan eisenhamer
> The example would be:
> File subroutines.pl:
> *******
> ....
> sub theSub {
> }
> ....
>
> File main.plex:
> ********
> ....
> require 'subroutines.pl';
> ....
> $avar = &theSub($otherpars...);
> ...
I just tested that, on PerlEx 2.0 and 2.3, both working as expected.
> 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.
Do you have any other errors from the log?
Does even the simplest PerlEx script work, that is without any require's?
/Henning
_______________________________________________
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
|