perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Harrison" <shado...@doublebagel.com>
Subject RE: Variable Cleanup
Date Mon, 14 Oct 2002 05:57:52 GMT
Disregard this :-)

Solved, and I sent it from the wrong alias :-)

Justin

> -----Original Message-----
> From: Astyrrian [mailto:astyrrian@clustercorp.com] 
> Sent: Saturday, October 12, 2002 10:46 PM
> To: embperl@perl.apache.org
> Subject: Variable Cleanup
> 
> 
> 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
> 


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


Mime
View raw message