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
PerlEx, namespace, and it used to work
by Jonathan Eisenhamer other posts by this author
Sep 21 2005 8:36AM messages near this date
Re: Suggestions for debugging memory leak in persistent app? | RE: PerlEx, namespace, and it used to work
SERVICES Greetings,

I am in the process of rebuilding a webserver that is using a PerlEX based 
site.  The original developers of the site are long gone, and details of 
the configuration are lost.

I have successfully managed to get things running except for the 
following:  Any subroutines in "require" modules are not found when run 
through PerlEX.  However, they are found when run on the command 
line.  None of the subroutines are package-qualified, i.e. they are simply 
referenced by their name "thefunction()".

I have read the documentation about namespace and having to create a 
namespace for all modules under PerlEx.  And, I have modified one file to 
define a package, and then the particular function is successfully found.

However, my problem is that the system was running before, without having 
to define and qualify all function names for all 'require' modules.

So, my question is, is there some setting/configuration of PerlEX that 
enables some type of "global" namespace, so that it is not necessary to 
qualify each function from require module?

Thank you for your time,
jde

!----------------------------------------------
Jonathan Eisenhamer @ STScI
Phone: USA 410-338-5073
Web/Print Group
Office of Public Outreach
http://amazing-space.stsci.edu/
http://hubblesite.org/
http://hubblesource.stsci.edu/ 

_______________________________________________
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