Re: Overriding/redefining p6 built-in functions

2005-05-08 Thread Gaal Yahas
On Sun, May 08, 2005 at 07:20:04AM -0700, Larry Wall wrote: > Absolutely everything is overridable in Perl 6, except the fact that > the program is parsed as Standard Perl up till the first declaration > (which might, of course, occur before the program file in a switch.) On that note, http://perl

Re: Overriding/redefining p6 built-in functions

2005-05-08 Thread Larry Wall
On Sun, May 08, 2005 at 02:39:03PM +1000, Andrew Savige wrote: : A crude hack sometimes used by gung ho p5 testers is to redefine : perl built-in functions. For example: : : BEGIN { : *CORE::GLOBAL::read = sub (*\$$;$) { return undef }; : } : : to test read failures (and so boost your Devel::