TMTOWTDI . . .
use strict; use POSIX qw( sin ); my $s = \&sin; print $s->( 0.5 ), "\n";
(Not necessarily a good way, but . . . :)
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: trouble taking reference of function
by Fletch
in thread trouble taking reference of function
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |