ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perlex
perlex
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved