On 3/28/06, Christopher Spears <[EMAIL PROTECTED]> wrote:
> my $sum{$source} += my
> $total_bytes{$source}{$destination};
> Am I missing something?
My guess is that my declarations have infested my program. Err, your program.
You can only use my() with complete variables, not with elements of a
hash or array. And I'm not sure what sense it would make, the way you
have it written, anyway. Does it fix anything to drop the extra 'my's?
Cheers!
--Tom Phoenix
Stonehenge Perl Training
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>