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 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

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