Skip to content

Instantly share code, notes, and snippets.

@pmichaud
Created May 14, 2009 20:40
Show Gist options
  • Save pmichaud/111898 to your computer and use it in GitHub Desktop.
Save pmichaud/111898 to your computer and use it in GitHub Desktop.
$ cat Foo.pm
module Foo {
multi sub infix:<±>($x, $y) is export(:DEFAULT) { 1 }
}
$ cat test.pl
use Foo;
say 1 ± 2;
$ ./perl6 test.pl
Statement not terminated properly at line 2, near "\x{b1} 2;\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment