in reply to Storable perl module error?
Without knowing anything more about your installation (which might in fact be broken), my best guess is that your column method on $data is not binary-clean.
You can test to see if freeze and thaw are working with a small one-liner:
$ perl -MStorable=freeze,thaw \ -lwe 'print ${ thaw freeze \"hi mom" }' hi mom
You can also test your column method more specifically, something like this:
use bytes; my $orig = join '', map chr($_), 0 .. 255; $data->column( 'data', $orig ); my $new = $data->column( 'data' ); if ( $orig ne $new ) { die "method 'column' is not binary clean!"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Storable perl module error?
by johnsaunders (Novice) on Apr 27, 2004 at 06:04 UTC | |
by tkil (Monk) on Apr 27, 2004 at 06:36 UTC | |
by johnsaunders (Novice) on Apr 27, 2004 at 15:03 UTC | |
by tkil (Monk) on Apr 27, 2004 at 16:24 UTC | |
by johnsaunders (Novice) on Apr 27, 2004 at 18:09 UTC | |
|