Most likely, you want to use Net::SIP resp. stuff out of the Net::SIP distribution. From a cursory glance, if you want to keep your hand-rolled socket reading, Net::SIP::Packet sounds interesting as it has the methods for parsing headers.
In reply to Re: How to extract the different parts of a string stored in a varible?
by Corion
in thread How to extract the different parts of a string stored in a varible?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |