Re: syntax errors?



On Tue, 2006-28-03 at 17:42 -0800, Christopher Spears wrote:
my $sum{$source} += my
$total_bytes{$source}{$destination};

The second 'my' is causing the error.


--
__END__

Just my 0.00000002 million dollars worth,
--- Shawn

"For the things we have to learn before we can do them,
we learn by doing them."
Aristotle

* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/



.



Relevant Pages

  • Re: beginner help
    ... Just my 0.00000002 million dollars worth, ... Aristotle ... Perl tutorials at http://perlmonks.org/?node=Tutorials ... A searchable perldoc is at http://perldoc.perl.org/ ...
    (perl.beginners)
  • Re: store Array in hash ?
    ... Be aware that these two statements do a top-level copy of @data: ... Just my 0.00000002 million dollars worth, ... Perl tutorials at http://perlmonks.org/?node=Tutorials ... A searchable perldoc is at http://perldoc.perl.org/ ...
    (perl.beginners)
  • Re: UTF-8
    ... Just my 0.00000002 million dollars worth, ... Aristotle ... Perl tutorials at http://perlmonks.org/?node=Tutorials ... A searchable perldoc is at http://perldoc.perl.org/ ...
    (perl.beginners)
  • Re: generate list in increments of 10s
    ... Just my 0.00000002 million dollars worth, ... Aristotle ... Perl tutorials at http://perlmonks.org/?node=Tutorials ... A searchable perldoc is at http://perldoc.perl.org/ ...
    (perl.beginners)
  • Re: scoping problem with hash
    ... print STDERR Dumper(\%times); ... Just my 0.00000002 million dollars worth, ... Perl tutorials at http://perlmonks.org/?node=Tutorials ... A searchable perldoc is at http://perldoc.perl.org/ ...
    (perl.beginners)