in reply to Counting Elements output from Data::Dumper

print scalar @{$VAR1->{'LOGENTRY'}};
gives me 4 as output. (see perlref)

HTH.

--
Rock is dead. Long live paper and scissors!

Replies are listed 'Best First'.
Re: Re: Counting Elements output from Data::Dumper
by vbrtrmn (Pilgrim) on Nov 09, 2002 at 17:07 UTC
    print scalar @{$VAR1->{'LOGENTRY'}};

    this returned an error due to the use of strict, but:

    print scalar @{$config->{'LOGENTRY'}};

    Returns: 4

    THANKS A LOT!!


    --
    paul