Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: tieing HoH

by delirium (Chaplain)
on Jan 15, 2004 at 12:47 UTC ( [id://321535]=note: print w/replies, xml ) Need Help??


in reply to tieing HoH

By the way, if you wanted to do this with the Data::Dumper module, start with something like this:

use Data::Dumper; my %sess_hist = (); sub load_history { %sess_hist = %{do($hist_file)} or die 'failed to load history'; } sub save_history { local $Data::Dumper::Indent = 1; open HF, '>', 'some_file.txt'; print HF Dumper \%sess_hist; close HF; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://321535]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2025-03-28 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (71 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.