Nathan Wiger wrote:
> Let alone that this:
> my $x, $y, $z;
> Doesn't DWIM, again according to what most people think.
Come on. What's so hard about knowing
( $x, $y, $z )
is a bunch of variables, and
my( $x, $y, $z )
is a bunch of variables declared local.
Answer: nothing.
> As for the -q thing, I think it is far *less* of a burden to add "use
> strict" and "use warnings" when you're writing a big piece of code. When
> you're writing 5 lines, every extra character counts. When you're
> writing 500 or 5000 lines, 2 lines of "use" statements are nothing.
I disagree. We're talking about the added burder of -q in
perl -qe 'print "Just Another Perl Hacker,"'
vs. adding
use strict;
use warnings;
near the top of -- not just one, but probably several or dozens of files.
> Also, many modules on CPAN have been
> in beta for years, and not just 0.99 beta but 0.02 beta, broken and
> uninstallable. There's also a lot of modules that don't run under -T.
> But "strict" won't fix these issues.
But consider that lots of CPAN will be irreparably broken by the
change to perl6. So in some sense we're starting with a much
cleaner slate than is supposed.
--
John Porter
You can't keep Perl6 Perl5.