cons-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packages and cons


From: Frank Thomas
Subject: Re: Packages and cons
Date: Wed, 18 Jul 2001 07:16:27 +0200

I would just call "use Cons-subs;" or something similar because this would not load it again every time but just import the symbols into your namespace.

Bye
        Frank

Am Dienstag, 17. Juli 2001 um 23:03 schrieb Gary Oberbrunner:

[Replying to my own msg...]

So far the leading contender (for me, YMMV of course) is still
modifying all the Conscripts to have "require 'Cons-subs.pl'".

Actually, it seems 'require' does not work, because it remembers (in a
global var) whether the require'd thing has already been loaded. You need to load it again into each sub-Conscript, so 'do' is what's really needed.

Can you tell I'm still learning the dark corners of Perl? :-)

-- Gary


_______________________________________________
address@hidden
http://mail.gnu.org/mailman/listinfo/cons-discuss
Cons URL: http://www.dsmit.com/cons/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]