in reply to pass subroutine value to scalar
my $command = sub { qx'xmmsctrl print %T' }; $command->(); # subroutine dereference
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: pass subroutine value to scalar
by chromatic (Archbishop) on Jan 12, 2006 at 07:40 UTC |