Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-08-01 01:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls