Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Object Serialization Basics

by polettix (Vicar)
on Mar 11, 2006 at 15:45 UTC ( #535961=note: print w/ replies, xml ) Need Help??


in reply to Object Serialization Basics

I don't know in 2000, but in 2006 this doesn't work any more:

my ($newdata, @newdataset, %newdatagroup) = @$thawed;
@$thawed is an array containing three references; the first is put into $newdata, the other two end up in @newdataset:
print "$newdata - [@newdataset]\n"; __END__ SCALAR(0x81b5d78) - [ARRAY(0x81b5eb0) HASH(0x812cc00)]

Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Don't fool yourself.


Comment on Re: Object Serialization Basics
Select or Download Code
Replies are listed 'Best First'.
Re^2: Object Serialization Basics
by chromatic (Archbishop) on Mar 11, 2006 at 20:09 UTC

    It worked that way in 2000, too. I updated the parent to be clearer about what happens. Thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (15)
As of 2015-07-31 16:26 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 (279 votes), past polls