Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: marshalling data

by BillKSmith (Monsignor)
on Mar 12, 2013 at 12:30 UTC ( [id://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

Replies are listed 'Best First'.
Re^3: marshalling data
by tobyink (Canon) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1022970]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-26 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found