GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Redis::Fast::Hash(3) User Contributed Perl Documentation Redis::Fast::Hash(3)

    Redis::Fast::Hash - tie Perl hashes to Redis hashes

    ## Create fake hash using keys like 'hash_prefix:KEY'
    tie %my_hash, 'Redis::Fast::Hash', 'hash_prefix', @Redis_new_parameters;

    ## Treat the entire Redis database as a hash
    tie %my_hash, 'Redis::Fast::Hash', undef, @Redis_new_parameters;

    $value = $my_hash{$key};
    $my_hash{$key} = $value;

    @keys   = keys %my_hash;
    @values = values %my_hash;

    %my_hash = reverse %my_hash;

    %my_hash = ();

Ties a Perl hash to Redis::Fast. Note that it doesn't use Redis Hashes, but implements a fake hash using regular keys like "prefix:KEY".

If no "prefix" is given, it will tie the entire Redis database as a hash.

Future versions will also allow you to use real Redis hash structures.

2022-04-09 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.