develooper Front page | perl.perl5.porters | Postings from July 2002

Re: Thread::Use - use a module inside a thread only

Thread Previous | Thread Next
From:
Slaven Rezic
Date:
July 30, 2002 08:21
Subject:
Re: Thread::Use - use a module inside a thread only
Message ID:
874rehnu4c.fsf@vran.herceg.de
Elizabeth Mattijsen <liz@dijkmat.nl> writes:

> At 02:54 PM 7/30/02 +0200, Jenda Krynicky wrote:
> >The problem with run-time "useit Foo" instead of compile-time "use
> >Foo" is that the symbols are not exported while compiling, prototypes
> >not "installed", constants not defined, etc. etc. etc.
> 
> Well, I guess YMMV...  prototypes aren't much use in an OO environment 
> anyway, exports seems to work fine, judging from the testing that I 
> did.  Constants may be another problem, let me check up on that...

What about exporting variables with "use strict" on?

Regards,
	Slaven

-- 
Slaven Rezic - slaven.rezic@berlin.de

Tk-AppMaster: a perl/Tk module launcher designed for handhelds
	http://tk-appmaster.sf.net

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About