Mailing List Archive

should -w complain on this?
simple test:

mox(tchrist)% perl -wce 'sub sort {1}'
-e syntax OK

------- Forwarded Message

Date: Tue, 05 Sep 1995 09:43:26 -0400
From: Vivek Khera <khera@kciLink.com>
Subject: Re: Image Map programs in Perl
To: tchrist@mox.perl.com (Tom Christiansen)
In-reply-to: Your message of "Mon, 04 Sep 1995 16:43:37 MDT."
<199509042243.QAA15978@mox.perl.com>

+---------
| :sub map {
|
| Um, that's probably a suboptimal name for a function. Remember,
| perl already has a map() function as an apply:
+---------

How 'bout that... Using perl for over 5 years and didn't even notice it.
I suppose I should change it. I wonder why perl -w didn't warn me about
it...

------- End of Forwarded Message