Skip to content

Instantly share code, notes, and snippets.

@ynonp
Created June 26, 2014 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ynonp/d1a77faa7d9175e75a75 to your computer and use it in GitHub Desktop.
Save ynonp/d1a77faa7d9175e75a75 to your computer and use it in GitHub Desktop.
perl method signatures
use v5.20;
use feature 'signatures';
no warnings 'experimental::signatures';
sub plus($x, $y) {
$x + $y
}
say plus(2,3);
@ynonp
Copy link
Author

ynonp commented Jun 26, 2014

just a test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment