vx has asked for the wisdom of the Perl Monks concerning the following question:
Is there an way to check if an var contains packed data ?
Something like :
if (is_packed($data)) { $data = unpack(...); }
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Detecting packed data
by dave_the_m (Monsignor) on Apr 10, 2005 at 16:12 UTC | |
|
Re: Detecting packed data
by spurperl (Priest) on Apr 10, 2005 at 17:24 UTC | |
by tilly (Archbishop) on Apr 10, 2005 at 19:30 UTC | |
|
Re: Detecting packed data
by gam3 (Curate) on Apr 10, 2005 at 17:48 UTC | |
by Zaxo (Archbishop) on Apr 10, 2005 at 20:24 UTC |