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
WWWdb::Hash(3) User Contributed Perl Documentation WWWdb::Hash(3)

WWWdb::Hash - Hashes for WWWdb

 use WWWdb::Hash;

 $oHash     = Hash->new();

 $cResult   = $oHash->Get($cKey);

 $cResult   = $oHash->Set($cKey, $cValue);

 $cResult   = $oHash->Delete($cKey);

 $iResult   = $oHash->Count();

Perl is the language for Hash-manipulation. Neverthless I wished some funktionality for imbedded class-elements in Hash-form. That was the main reason, for developing this class.

none

new
 $oHash     = Hash->new();
    

Create a new empty Hash.

Get
 $bResult   = $oHash->Get($cKey);
    

Returns the element with the Key cKey.

Set
 $cResult   = $oHash->Set($cKey, $cValue);
    

Sets the value of the element with the Key cKey.

Delete
 $cResult   = $oHash->Delete($cKey);
    

Deletes the element at Key cKey. The value of the deleted element will be returned.

Count
 $iResult   = $oHash->Count();
    

Returns the number of elements, the Hash contains.

none
2002-03-14 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.