>Small correction: because of the hyphens those barewords need to be quoted.
>
>my @cfgs = (
>    [ Toaster        => 6 ],
>    [ 'MFG-UNIX'     => 5 ],
>    [ 'SYS-UNIX'     => 5 ],
>    [ 'Amanda-Daily' => 1 ],
>    );
>
>my %cfgs = (
>    Toaster        => 6,
>    'MFG-UNIX'     => 5,
>    'SYS-UNIX'     => 5,
>    'Amanda-Daily' => 1,
>    );


Yes I picked up on that after I tried to run it. Thanks.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to