Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by tphyahoo (Vicar)
on Jul 21, 2005 at 13:13 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found