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

Object reference disappearing during global destruction

by khkramer (Scribe)
on May 15, 2002 at 17:06 UTC ( #166791=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Badly_Behaved;
    
    ...
    package main;
    
    $hmph = Badly_Behaved->new();
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    
    sub dump_log {
    }
    
  3. or download this
      (in cleanup) Can't call method "def_by_name" on an
    undefined value at
    /usr/lib/perl5/site_perl/5.6.1/XML/Comma/NestedElement.pm
    line 288 during global destruction.
    
  4. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
      XML::Comma::Def->read(name=>'AllAfrica_NewsStory')->get_index('post'
    +);
    
    print "-->index/def: " $::index . ' ' . $::index->{_def} . "\n";
    
  5. or download this
    D: XML::Comma::NestedElement=HASH(0x86eeb6c)
       XML::Comma::Bootstrap=HASH(0x86a2084)
    ...
      _Index_columns --> HASH(0x86f8a2c)
    D: XML::Comma::NestedElement=HASH(0x86eea58)
       <undef>
    
  6. or download this
    D: XML::Comma::NestedElement=HASH(0x8ae51c4)
    XML::Comma::AbstractElement::DESTROY(/u/khkramer/src/perl/XML-Comma/XM
    +L/Comma/AbstractElement.pm:224):
    ...
        new value:  undef
    XML::Comma::AbstractElement::DESTROY(/u/khkramer/src/perl/XML-Comma/XM
    +L/Comma/AbstractElement.pm:223):
    223:      print 'D: ' . $_[0] . "\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://166791]
Approved by boo_radley
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2017-09-20 01:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (230 votes). Check out past polls.

    Notices?