My suggestion was "no strict "subs"" - it id not include the word "use".
If you want to disable "use strict", simply comment it out at the top of the code. (Insert "#" as the first character (without the quotes))
Also - it would help readers if you formatted your post using HTML paragraph markers: <p> and/or <br/>
I hope life isn't a big joke, because I don't get it.
-SNL
| [reply] |
Hi Mr NetWallah,
I tryed the sugestion with out "use", and when i called the Program didn't work, no action, cursor went to next line.
| [reply] |
updated/redacted
Ok - good - that means your program did not post any errors.
By that definition, it completed successfully.
Now - if you are saying it did not do what you expected it to do, we need 2 things:
* Your expectations
* The code - We would prefer a minimal, but sufficient snippet of the code that demonstrates the problem
Pleae read up on how to use 'readmore" and "code" tags, before posting large amounts of code.
I did some tests, and found I was mistaken in the belief that "no subs" would allow undeclared subroutines to be called.
Please ignore my suggestion for "no subs", and do one of the following:
- Follow chromatic's suggestion - add Parens after the sub name, when calling
- pre-declare the sub by using "sub SubName{};"
The best way to approach this is to fix the errors one at a time, until the program runs clean.
I hope life isn't a big joke, because I don't get it.
-SNL
| [reply] |
| [reply] |
| [reply] |