Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: marshalling data

by BillKSmith (Priest)
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.

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 romping around the Monastery: (8)
As of 2016-10-24 07:45 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (303 votes). Check out past polls.