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 | |
by Anonymous Monk on Aug 14, 2008 at 06:32 UTC |