in reply to sub foo:bar {}?

my $poop = {}; $poop->{"anything you want goes here"} = sub {warn(@_)}; $poop->{"anything you want goes here"}->('arg1',2,3);

Replies are listed 'Best First'.
Re^2: sub foo:bar {}?
by Lawliet (Curate) on Aug 14, 2008 at 06:17 UTC

    Interesting choice of words...

    I'm so adjective, I verb nouns!

    chomp; # nom nom nom

      Its a song :D