perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Astyrrian" <astyrr...@clustercorp.com>
Subject Variable Cleanup
Date Sun, 13 Oct 2002 02:45:41 GMT
Hi,

I am using a namespace/variable to hold things like dbi handles, etc, so
that it is available to all code/modules (embperl modules, perl modules,
etc)

Right now I am manually cleaning it up (As embperl doesn't) but I read
in the docs that if you put the variable in $CLEANUP with value 1,
embperl will do it for you - though there isnt an example of it.


Is this correct? 

$whatever::cat = "moo";

$CLEANUP{whatever} = 1;

Can it clean up all of "whatever", or must I list each variable
separately?

Justin


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


Mime
View raw message