- Original Message -
From: Gary Stainburn <[EMAIL PROTECTED]>
To: Perl Beginners <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 1:21 PM
Subject: array inside a hash
> Hi all,
>
> I'm writing a small script to collect info from various system commands
> to produce a small meaningfull r
Hi,
correct is:
$pvolumes{$pv}->{volumes} ||= []; ## create empty array if it wasn't yet used
push @{$pvolumes{$pv}->{volumes}}, "$lv:$lp:$pp:$dist";
On Thursday 31 May 2001 13:21, Gary Stainburn wrote:
> Hi all,
>
> I'm writing a small script to collect info from various system commands
> to p