in reply to A hash slice but not..

try @hash{a..c}=('some value') x 3;

Oh wait, you want it to NEST? bleagh... There is no easy shortcut for that. =)

--
$you = new YOU;
honk() if $you->love(perl)

Replies are listed 'Best First'.
Re: Re: A hash slice but not..
by japhy (Canon) on Feb 15, 2001 at 00:34 UTC
    He's not asking for a hash slice. He's asking for a shorter way to write $hash{this}{that}{those}.

    japhy -- Perl and Regex Hacker