I have a set of subroutines that look like this:
sub foo_1($) { my $name = shift; my $f; run_something(); open($f, $name) or die (\"Couldn\'t open $nam
Although others already answered the question I was still missing the reference to the official Perl documentation.
http://perldoc.perl.org/perlsub.html#Prototypes