* Zefram <zefram@fysh.org> [2010-08-10 18:15]: > I wrote: > >sprintf. The common underlying function is do_sprintf(). > > But it turns out that CORE::sprintf has a $@ prototype, and so > doesn't invoke this bug after all. I reckon the underlying bug > is CORE::printf having been given the prototypish behaviour of > CORE::print rather than that of CORE::sprintf. This accounts > for both this stack bug and the undocumented use of $_. Which it must, because like `print` but unlike `sprintf`, it can optionally take an FH as indirect argument. -- *AUTOLOAD=*_;sub _{s/::([^:]*)$/print$1,(",$\/"," ")[defined wantarray]/e;chop;$_} &Just->another->Perl->hack; #Aristotle Pagaltzis // <http://plasmasturm.org/>Thread Previous