in reply to Prototype (_)?

From the Camel Book (4th Edition, 2012), page 328:

As the last character of a prototype, or just before a semicolon, you can use _ in place of $. If this argument is not provided, the current $_ variable will be used instead. For example:

sub mymkdir(_;$) { my $dirname = shift(); my $mask = @_ ? shift() : 0777; my $mode = $mask &~ umask(); ... } mymkdir($path, 01750); mymkdir($path); mymkdir(); # passes in $_

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,