perl -wMstrict -e " { no strict 'refs'; local *{ 'foo:bar' } = sub { print qq{hi there $_[0]} }; *{ 'foo:bar' }{CODE}->('sailor'); } " hi there sailor
In reply to Re: sub foo:bar {}?
by AnomalousMonk
in thread sub foo:bar {}?
by geoffleach
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |