- awkward function argument syntax: my ($x, $y) = @_;
use feature 'signatures'; use strict; use warnings; sub foobar ($foo, $bar = undef) { # do something smart } # call it: foobar(1); foobar(1, 2);