I kind of figured you'd realised it wasn't strict that was the cause, I was really adding something I forgot to mention in my first post.
I actually want Perl to complain to me, so I sought out the strict pragma even before I started reading advice to use it.
I've spent a lot of time modifying other people's programs, and now that I'm writing my own code I need a little help from Perl so that I don't need to keep looking things up in the documentation.
Perl is also the only language I've used seriously that doesn't have strong type casting, which worries me a little at times. I guess I'm used to being able to tell whether a variable is a number or a string just from the prefix character (which is handy when reading unfamiliar or forgotten code).
In reply to Re: Re: Re: Re: Using "my" suppresses "Name used only once" warning?
by Wysardry
in thread Using "my" suppresses "Name used only once" warning?
by Wysardry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |