Can you give me an example of the former?
I can't think of any off the top of my head.
Scalar value @foo[$bar] better written as $foo[$bar], for one.
If part of Perl's breeding is autovivication and interpretation of undef as
0 or "" in the appropriate context, why should Perl
print IRONY;
I consider a module without tests or documentation to be a syntax
error. Maybe perl should refuse to run a module without POD and
MakeMaker should refuse to install a module without tests unless given
a special flag. Then people will sometimes forget to use that flag
and
On Sat, Feb 17, 2001 at 05:00:51PM -0800, Peter Scott wrote:
Simon Cozens submitted a patch which failed the test
...and MJD and Jarkko and I worked on it and we put together something
which was OK.
--
You're not Dave. Who are you?
At 02:37 AM 2/17/01 -0500, [EMAIL PROTECTED] wrote:
On Fri, Feb 16, 2001 at 09:03:54PM -0800, Edward Peschko wrote:
Right now, I do a search on the standard distribution, and I see
'use warnings::register' in 13 out of 270 modules. Make 'use warnings' the
default, and you'd bet that there
On Sat, Feb 17, 2001 at 11:09:29AM -0800, Peter Scott wrote:
No, there will probably be a big push to shut it off, based on
historical reactions to this sort of thing.
Maybe I'm missing something; I'm sure the philosophy is for the standard
distribution to be -w clean, so shouldn't
I thought that was the problem you were having. Forgetting to type
"use strict" in your programs.
No -- its *anywhere* that you write scripts/modules/what have you. Anywhere
you miss it, it is a syntax error to me.
Modules? Modules should have test suites. A simple test would be to
check
oops -- posted to perl6-language by mistake...
sorry,
Ed
Oops. Forgot a few points. I said that you should give me the courtesy of
responding to all of my points, and
I think we're rapidly approaching "agree to disagree" territory here.
No we are not. If you come up with some good
This is a cross-over from perl6-language.
First off, I'd like to make it clear that I'm *not* arguing against
the advantages of having strict and warnings on. I turn them on for
every program I write (except strict for one-liners) and strongly
advocate that everyone else do the same. However,
On Fri, Feb 16, 2001 at 08:41:02PM -0500, [EMAIL PROTECTED] wrote:
On Fri, Feb 16, 2001 at 03:28:36PM -0800, Edward Peschko wrote:
Its because '-w' is a global switch.
What about the new lexical warnings? "use warnings"?
umm... that's part of what this is all about. People don't have a
At 11:00 PM 2/16/01 -0500, [EMAIL PROTECTED] wrote:
On Fri, Feb 16, 2001 at 06:52:22PM -0800, Peter Scott wrote:
S'not about saving keystrokes, as many times as I do type the same things
in every file; it's about giving newbies the right introduction to the
language and providing
10 matches
Mail list logo