--- Mike Blezien <[EMAIL PROTECTED]> wrote:
> > Arrays in scalar context return the number of elements in the
> array.
> > Try this:
> >
> > my $num_elements = @{ $hash->{$key };
> >
>
> thank you :)
You can thank me after I post a *correct* code snippet :)
my $num_elements = @{ $hash->{$key} }; # missing a curly
Cheers,
Ovid
--
If this message is a response to a question on a mailing list, please send
follow up questions to the list.
Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>