On Jul 28, Pablo Fischer said:

>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;

That should be "my $this = shift;".

>       delete $this->{FIELD}

; ?

>       delete $this->{DATA}
>}
>
>But, could I do this just like: delete $dbf? or in a simple and quickly way?

If you want to get rid of it, just undef it.

  undef $dbf;

And that's all.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to