Skip to content

Commit

Permalink
Add Perl6 sample
Browse files Browse the repository at this point in the history
  • Loading branch information
syohex committed Oct 7, 2015
1 parent 353cb0a commit 26d26a8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sample/sample.pl6
@@ -0,0 +1,9 @@
#!/usr/bin/env perl6

class Sample {
method hello(Str $name) {
say "Hello $name";
}
}

Sample.new.hello("world");

0 comments on commit 26d26a8

Please sign in to comment.