Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

w-ber's scratchpad

by w-ber (Hermit)
on Mar 01, 2007 at 16:04 UTC ( #602708=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

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