Hi!
I have a class that the only function its to retrieve data from the database
(mysql), I choose field that I need calling it in this form:
my $dbf = new DemoDB(),
my $dZip = {}; #Esta es la variable con la que se ira trabajando
a lo largo d' la clase
$dZip->{CONFIG_DIRTMP} = $dbf->seccion_zip("config_dirtmp");
$dZip->{CONFIG_DIRPROCESO} = $dbf->seccion_zip("config_dirproceso");
$dZip->{CONFIG_DIRRECEP} = $dbf->seccion_zip("config_dirrecep");
Ok, I Save the field (Cofnig_Dirtmp, config_dirproceso, config_dirrecep), Now
I dont see any reason to continue with $dbf, can I delete it? I just need it
to retrieve data.
I know that I could do
$dbf->close();
and in DemoDB.pm I could have:
sub close {
$this = shift;
delete $this->{FIELD}
delete $this->{DATA}
}
But, could I do this just like: delete $dbf? or in a simple and quickly way?
Thanks!
Pablo
--
Pablo Fischer Sandoval ([EMAIL PROTECTED])
http://www.pablo.com.mx
http://www.debianmexico.org
GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C
Firma URL: http://www.pablo.com.mx/firmagpg.txt
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]