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
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::
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::Cover score :-).
This technique is not very convenient (must be in a BEGIN bloc