"be consistent" | |
PerlMonks |
Re: confused with summing certain elements from an arrayby andreas1234567 (Vicar) |
on Nov 20, 2007 at 12:51 UTC ( [id://651917]=note: print w/replies, xml ) | Need Help?? |
Remember to use warnings and strict (put it on the first lines of your code):
In this case you will be warned that you did not properly quote your input. See Quote and Quote-like Operators in perlop for more. Good luck with your homework (and thank you for admitting that it is actually homework).
-- Andreas
In Section
Seekers of Perl Wisdom
|
|