Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: Bruxelles
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.435 kb
augment class Any {
method ACCEPTS($topic) {
self === $topic
}
multi method Str() {
sprintf '%s<0x%x>', self.WHAT, self.WHERE;
}
method Numeric() {
die "Cannot take numeric value for object of type $.WHAT.perl()" if $.defined;
# fail "Use of uninitialized value in numeric context";
warn "Use of uninitialized value in numeric context";
0;
}
}
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.