On Jul 20, Qiang Qiang said:

>sub new
>{
>    ......
>    $self->{'DCCC'} = [];
>    ......
>}

You just made $self->{DCCC} an ARRAY reference, not a hash reference.  To
make a hash reference, you need to use {}.

>sub DCCC
>{
>    my $self = shift;
>    if(@_) { %{$self->{'DCCC'}} = @_; }
>    return %{$self->{'DCCC'}};
>}

>Use MtvAnalysis

That is NOT what you have in your program.  you have

  use MtvAnalysis;

Please paste the code in proper.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
Are you a Monk?  http://www.perlmonks.com/     http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc.     http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter.         Brother #734
**      Manning Publications, Co, is publishing my Perl Regex book      **


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to