>Despite the groans from the peanut gallery,
Whatever. We've got too damned many falsies already.
>Funny thing is, I can't think of a case at the moment where such
>information would be useful. I'm also a little worried about
>implementing the details of such a propsal. Consider the following...
> my $bar;
> foo();
> foo(undef);
> foo($bar);
> sub foo {
> my($arg) = shift;
> print $arg;
> }
>All of these cases would produce a "Use of undefined value" warning
>from print because in all cases, shift returns undef.
Let's please not invent more *REALLY*CONFUSING*CRAP* just because
people are too lame to check their variadic functions' varying @_
for its length. You won't solve that ignorance or carelessness
but through education.
--tom
- Re: Pre-RFC - "use warnings" by default for al... Chaim Frenkel
- Re: Pre-RFC - "use warnings" by default for al... Michael G Schwern
- Re: Pre-RFC - "use warnings" by default for al... Chaim Frenkel
- Re: Pre-RFC - "use warnings" by default for al... Michael G Schwern
- Re: Pre-RFC - "use warnings" by default for al... Tom Christiansen
- Re: Pre-RFC - "use warnings" by default for al... Michael G Schwern
- Re: Pre-RFC - "use warnings" by default for al... Chaim Frenkel
- Re: Pre-RFC - "use warnings" by default for al... Chaim Frenkel
- Re: Pre-RFC - "use warnings" by default for al... Tom Christiansen
- Re: Pre-RFC - "use warnings" by default for al... Michael G Schwern
- Re: Pre-RFC - "use warnings" by default for al... Tom Christiansen
- Re: Pre-RFC - "use warnings" by default for al... Michael G Schwern
- Re: Pre-RFC - "use warnings" by default for al... Piers Cawley
- Re: Pre-RFC - "use warnings" by default for al... Michael G Schwern
- Re: Pre-RFC - "use warnings" by default for al... Bart Lateur
- Re: Pre-RFC - "use warnings" by default for al... Piers Cawley
- Re: Pre-RFC - "use warnings" by default for al... Piers Cawley
