in reply to Trying to read numbers from a text file
But before that, some others things would have had to be fixed in your program, especially you would have had to declare your variables with the my keyword.Argument "(3" isn't numeric in addition (+) at ... line 8. Argument "((18" isn't numeric in addition (+) at ... line 8.
Help the compiler to help you, always use strict; and use warnings;
|
|---|