in reply to Shorten initializers

You can't do it quite like that, but you could do either of these:

my ($foo, $bar, $baz) = (0, 0, 0); my ($foo, $bar, $baz) = (0)x3;

-- Mike

--
just,my${.02}

Replies are listed 'Best First'.
Re: Re: Shorten initializers
by Anonymous Monk on Jun 26, 2003 at 22:55 UTC
    Thanks to everyone!