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


Manual Reference Pages  -  WWWDB::HASH (3)

.ds Aq ’

NAME

WWWdb::Hash - Hashes for WWWdb

CONTENTS

SYNOPSIS



 use WWWdb::Hash;

 $oHash     = Hash->new();

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

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

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

 $iResult   = $oHash->Count();



DESCRIPTION

The Hash class

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.

    Note

none

    Class Methods

<B>newB>


 $oHash     = Hash->new();



Create a new empty Hash.

<B>GetB>


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



Returns the element with the Key cKey.

<B>SetB>


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



Sets the value of the element with the Key cKey.

<B>DeleteB>


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



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

<B>CountB>


 $iResult   = $oHash->Count();



Returns the number of elements, the Hash contains.

    Class Attributes

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


perl v5.20.3 WWWDB::HASH (3) 2002-03-14

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