perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Harrison" <shado...@doublebagel.com>
Subject RE: Namespace/scope issue?
Date Wed, 16 Oct 2002 09:57:14 GMT
I thought that as long as I did not declare my own package inside this
code, that it would be OK?

Thanks for the FAQ Link - And sorry for this package/namespace
repeatitedness on the mailing list!

Justin

> -----Original Message-----
> From: Gerald Richter [mailto:richter@ecos.de] 
> Sent: Wednesday, October 16, 2002 2:07 AM
> To: Justin Harrison; embperl@perl.apache.org
> Subject: Re: Namespace/scope issue?
> 
> 
> Hi,
> >
> > I have an embperl webpage and I am executing another piece of code 
> >into  it like this: ...
> >
> > At no point do I declare any packages, etc.
> >
> 
> That will cause problems, if you use your module from 
> different EMbperl pages, because Embperl assigns a different 
> package to every page. See 
> http://perl.apache.org/embperl/pod/doc/doc13/pod/Faq.-page-3-.
htm#sect_19
for a explanation.

Gerald



-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message