- or download this
# Try and catch using prototypes. (Almost verbatim from perlsub.)
...
} catch {
/phooey/ and print "unphooey\n";
};
- or download this
# Nested subroutines.
...
}
print frobnicate_again('foo'), "\n";
- or download this
my $ip = 127.0.0.1;
printf "%vd\n", $ip;