Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Storable

by TheoPetersen (Priest)
on Feb 22, 2001 at 21:11 UTC ( #60252=modulereview: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Storable qw(freeze thaw);
    ...
    $buffer = freeze($obj);
    
  2. or download this
    $newInstance = thaw($buffer);
  3. or download this
    sub store {
        my $obj = shift;
        my $key = $obj->key;
    ...
        }
        return undef;
    }
    
  4. or download this
    store \%table, 'file';
    $hashref = retrieve('file');
    
  5. or download this
    store_fd \@array, \*STDOUT;
    nstore_fd \%table, \*STDOUT;
    $aryref = fd_retrieve(\*SOCKET);
    $hashref = fd_retrieve(\*SOCKET);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: modulereview [id://60252]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-05-29 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?