Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 pondering the Monastery: (8)
As of 2015-07-03 17:54 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 (55 votes), past polls