Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Can I serialize an object and have it remember it's type?

by tphyahoo (Vicar)
on Jul 21, 2005 at 13:13 UTC ( #476806=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #test.pl
    use warnings;
    ...
    isa_ok($user_agent2, 'LWP::UserAgent');#fails
    
    print Dumper($user_agent2);
    
  2. or download this
    Failed test (read.pl at line 15)
         The object isn't a 'LWP::UserAgent' it's a 'DBM::Deep'
    ...
                     'max_size' => undef
                   }, 'DBM::Deep' );
    1..2
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://476806]
Approved by Limbic~Region
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-02-27 06:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    On my keyboard, Caps lock is:








    Results (441 votes), past polls