Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 rifling through the Monastery: (3)
As of 2014-12-29 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls