Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Perl Warning On dbmclose()

by PodMaster (Abbot)
on Apr 24, 2006 at 06:37 UTC ( #545223=note: print w/ replies, xml ) Need Help??

in reply to Perl Warning On dbmclose()

Errors and warnings are documented in perldiag.

untie attempted while %d inner references still exist
    (W untie) A copy of the object returned from tie (or tied) was still valid when untie was called.
If you undef $opnret before you call dbmclose, that warning should go away.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Comment on Re: Perl Warning On dbmclose()
Replies are listed 'Best First'.
Re^2: Perl Warning On dbmclose()
by marinersk (Curate) on Apr 24, 2006 at 06:55 UTC
    I was unable to relate the explanation from perldiag to what was hapenning with dbmopen()/dbmclose(). I suppose if I understood ties and understood how dbmopen() and dbmclose() were using ties, maybe that error message could have held some meaning for me. Since I lack that knowledge, there weren't any words in perldiag that actually mapped to what I was doing in any terms I could understand. :-(

    My limited exposure to object-oriented Perl, however, did give me the opportunity to eventually arrive at the instictive sense that perhaps the assignment on dbmopen() was causing a reference to hang around when the untie() was attempted. :-)

    Unfortunately that moment of discovery came just after I posted my question. :-(

    Thank you, however, for the information. I knew I'd find the answer here. :-)

    - Steve M.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://545223]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-10-07 05:43 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (170 votes), past polls