perl-embperl mailing list archives

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

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,

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message