Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

(MeowChow) Re: Efficient coupling/decoupling of serialized data

by MeowChow (Vicar)
on Jun 24, 2002 at 09:20 UTC ( #176722=note: print w/ replies, xml ) Need Help??


in reply to Efficient coupling/decoupling of serialized data

doing weird karussels with pack (maybe);

You want unpack, which was made for exactly this sort of thing (in addition to scaring off newbie programmers):

my ($year, $mon, $day, $ver) = unpack 'A4A2A2A2', $serialdate;
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print


Comment on (MeowChow) Re: Efficient coupling/decoupling of serialized data
Download Code
Re: (MeowChow) Re: Efficient coupling/decoupling of serialized data
by bronto (Priest) on Jun 24, 2002 at 10:31 UTC

    Yes, I thought unpack but wrote pack, I am sorry.

    Thanks for your meditation, anyway. I look forward to hear from other people, too!

    Thanks again!
    --bronto

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2015-07-02 18:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls