Created
June 26, 2014 15:38
-
-
Save ynonp/d1a77faa7d9175e75a75 to your computer and use it in GitHub Desktop.
perl method signatures
This file contains hidden or 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
use v5.20; | |
use feature 'signatures'; | |
no warnings 'experimental::signatures'; | |
sub plus($x, $y) { | |
$x + $y | |
} | |
say plus(2,3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just a test