in reply to Strange error dumping tainted data
Instead of using an 'S' namespace, try putting all the variables you need to save into a global hash (%::S will do).
(Note that for the purposes of saving and restoring variables, Storable has a number of advantages over Data::Dumper.)use Storable; $S{scalar} = 5; @{$S{array}} = (5, 6, 7, 8); %{$S{hash}} = (hi => 1, there => 2); Storable::store \%S, 'state.sav'; %S = %{ Storable::retrieve('state.sav') };
$"=$,,$_=q>|\p4<6 8p<M/_|<('=> .q>.<4-KI<l|2$<6%s!<qn#F<>;$, .=pack'N*',"@{[unpack'C*',$_] }"for split/</;$_=$,,y[A-Z a-z] {}cd;print lc
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Strange error dumping tainted data
by zealot (Sexton) on Mar 24, 2005 at 22:30 UTC |