in reply to Re^2: array confusion
in thread array confusion

so what is this line doing -er saying
my %system_name = (box1 => 1, box2 => 1)

Replies are listed 'Best First'.
Re^4: array confusion
by edan (Curate) on Jul 05, 2004 at 11:11 UTC

    That line is creating an associative array (or hash) with 2 keys, 'box1' and 'box2'. You can then access the elements in the hash with the

    $hash{key}
    syntax. You might want to read perldoc perldata to get an idea of what this all means.

    --
    edan