in reply to confused with summing certain elements from an array
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).use warnings; use strict;
|
|---|