Skip to content

Commit

Permalink
add another exported sub to a test module
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Jun 10, 2012
1 parent 489d98e commit 89bcf0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/Fancy/Utilities.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ module Fancy::Utilities {
sub lolrequest($item) is export(:lolcat) {
return "I CAN HAZ A {uc $item}?";
}
sub allgreet() is export {
'hi all';
}
multi sub greet(Str $who) { return "Good morning, $who!" }
multi sub greet() { return "Hi!" }
}

0 comments on commit 89bcf0b

Please sign in to comment.