On Fri, Sep 30, 2011 at 1:52 AM, Johan Vromans <jvromans@squirrel.nl> wrote:
> [Quoting Eric Brine, on September 29 2011, 18:21, in "Re: [perl #100190]
> R"]
> > sub my_printf { print ">> " . sprintf(@_) }
> > but need
> > sub my_printf { print ">> " . sprintf( $_[0], @_[1..$#_] ) }
> >
> > Except the same thing applies to every single builtin (e.g. length,
> > splice, substr, exit, etc.)
>
> Which, IMNSHO, indicates there's something counter-intuitive with the
> way these builtins are handled.
>
Yes, prototypes are recognised as being problematic.
Thread Previous
|
Thread Next