RE: Extracting bits from a string of bits

2002-08-30 Thread Kipp, James
Bridget Please reply to the list, that way if i am not available, someone else on the list can help you. Couple of questions: You want to extract the 4 bits into an array or into an string? Is this a raw packet dump in hex? There are many ways but here is one: $packet = "234BBFF56"; @array =

RE: Extracting bits from a string of bits

2002-08-29 Thread Kipp, James
perldoc -f unpack perldoc -f pack > -Original Message- > From: Bridget Benson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 29, 2002 12:46 PM > To: [EMAIL PROTECTED] > Subject: Extracting bits from a string of bits > > > I am trying to grab selections of an ip packet stored in a