Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my $f = sub add-one($n) {
- $n + 1;
- }
- $f(3) == 4 or die "Wrong value";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement