Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: marshalling data

by BillKSmith (Curate)
on Mar 12, 2013 at 12:30 UTC ( #1022970=note: print w/ replies, xml ) Need Help??

in reply to Re: marshalling data
in thread marshalling data

Your solution requires Other to know the variable names at compile time. I think the whole idea is to preserve the variable names as well as their values.


Comment on Re^2: marshalling data
Replies are listed 'Best First'.
Re^3: marshalling data
by tobyink (Abbot) on Mar 12, 2013 at 14:30 UTC

    Why in earth would Other want to unmarshall some variables without knowing what they're called? If it didn't know what they were called, it couldn't very well make practical use of the data contained in them.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
      Good point! This may be exactlly what I got wrong.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2015-11-28 21:38 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (745 votes), past polls