Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Use a Serialized Hash... When It Might Not Exist?

by redapplesonly (Sexton)
on Nov 11, 2022 at 22:39 UTC ( [id://11148149]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    store $hashref, $HASHFILE;
    
    # END OF PROGRAM
    
  2. or download this
    me@ubuntu01$ rm file
    me@ubuntu01$
    ...
    Hash has key2!  (Value is: 'data2')
    me@ubuntu01$
    me@ubuntu01$
    
  3. or download this
    Use of uninitialized value in printf at ./SerHash2.perl line 33.
    Hash has key2!  (Value is: '')
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11148149]
Approved by choroba
Front-paged by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-18 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found