Created
May 5, 2011 10:09
-
-
Save alexm/956821 to your computer and use it in GitHub Desktop.
Barcelona.pm T-shirt 2011 (with comments)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Perl 6 | |
use v6; | |
my @Barcelona = < Barcelona >; | |
my @PerlMongers = < Perl >; | |
# Define Camelia binary operator: »ö« | |
# https://github.com/perl6/mu/raw/master/misc/camelia.txt | |
# Takes a pair from the operand arrays and puts a heart in the middle | |
sub infix:<»ö«> { | |
$^me ~ ' ❤ ' ~ $^you | |
} | |
# Says "Barcelona ❤ Perl" | |
say @Barcelona »ö« @PerlMongers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment