develooper Front page | perl.perl5.porters | Postings from November 1999

Re: [PATCH 5.005_62] First round of unpack

Thread Previous | Thread Next
From:
John Porter
Date:
November 11, 1999 08:56
Subject:
Re: [PATCH 5.005_62] First round of unpack
Message ID:
19991111115615.A10506@min.net
In <19991102214104.A74@monk.mps.ohio-state.edu>,
Ilya Zakharevich <ilya@math.ohio-state.edu> wrote:
> How one would
> write a "universal" unmarshaller?  Obviously, one needs to store
> unmarshalling instructions together with stringified data.
> 
> This leads to unpack 't' which I wrote.

I would like to see this (New Year's wish):

# -- on the sending side:

  $msg = pack 't', \&foo;

# -- on the receiving side:

  sub foo;
  ( *foo ) = unpack 't', $msg;


-- 
John Porter


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About