On Monday, May 20, 2002, at 03:34 , [EMAIL PROTECTED] wrote:

> Not used hashes before - stuck to simple arrays..  (unix shell scripting
> background)

the good news is that perl has 'associative arrays' of
the form

        my %hash;
        ....

        $hash{$key} = $val;


the bad news is that they will drive you insane for an
arbitrary amount of time - as you wander around playing
with which way to do the 'stuffing'.

may I recommend that you wrap your head around

        perldoc perlref

so that you have a frame work within which to deal with
the sorts of things you can/should stuff into hashes...

Since remember that

        $hash{$key}

is 'in a scalar context'....

ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to