sin is actually an operator, not a function. You can wrap it in a sub.
my $foo = sub { sin($_[0]) };
In reply to Re: trouble taking reference of function
by ikegami
in thread trouble taking reference of function
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |