From: Rick DeNatale Date: 2007-10-27T03:32:43+09:00 Subject: Re: background on String#unpack? On 10/26/07, Giles Bowkett wrote: > I'm just looking for historical context on this method. It looks like > one of those old-school Unix-isms that must have been incredibly > useful in the past but never comes up in the course of run-of-the-mill > Web programming. I'm pretty sure I first saw it ten years ago in Perl > and never once used it myself. I think I did copy/paste it in some > encryption code or something related, but I'm not sure. Just > wondering, what's it for? Who uses it, and why? String#unpack, along with its partner Array#pack is used for dealing with binary input and output streams respectively. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/