Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: marshalling data

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

Bill


Comment on Re^2: marshalling data
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.
      Bill

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2014-09-22 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (203 votes), past polls