Perl 6 Rakudo Perl - Perl 6 on Parrot #24

Fudge

Perl 6 implemenations may be in different phases of implementation

'fudge' allows per-implementation skip/todo markers

Typical usage in test file:

#?rakudo skip 'NaN not implemented'
ok(sqrt(-1), NaN, 'sqrt(-1) is NaN');

When fudging for Rakudo, this gets converted to:

skip(1,'NaN not implemented');
#  { ok(sqrt(-1), NaN, 'sqrt(-1) is NaN');
#  }

For other implementations, remains a simple comment

Copyright © 2008
http://www.pmichaud.com/2008/pres/