in reply to Re: Re: Re: Using "my" suppresses "Name used only once" warning?
in thread Using "my" suppresses "Name used only once" warning?
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).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Re: Using "my" suppresses "Name used only once" warning?
by bart (Canon) on Feb 03, 2003 at 08:13 UTC | |
by Wysardry (Pilgrim) on Feb 03, 2003 at 19:21 UTC | |
by Jenda (Abbot) on Feb 05, 2003 at 15:30 UTC |