Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: A (memory) poor man's <strike>hash</strike> lookup table.

by BrowserUk (Patriarch)
on Dec 03, 2003 at 00:21 UTC ( #311793=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    tie my %hash, 'Tie::CompactHash', 'A0 A4 A*';
    
  2. or download this
    tie my %hash, 'Tie::CompactHash', 'A0 A2 A*';
    
  3. or download this
    tie my %logs, 'Tie::CompactHash', 'A3 xx A4 A2 A*';
    
  4. or download this
    sub EXISTS {
        my( $pre, $key, $post ) = unpack $mask{ $_[SELF] }, $_[KEY];
    ...
            defined $_[SELF]{ $key }
                and $_[SELF]{ $key }[ 0 ] =~ m[(...\c@)\Q$post\E\xff]s;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2022-01-26 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (69 votes). Check out past polls.

    Notices?