mtroost has asked for the wisdom of the Perl Monks concerning the following question:
my $result = do_me(); #is $result a code referece? -> $result->() #is $result a scalar?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: detecting code referece
by moritz (Cardinal) on Dec 17, 2007 at 10:01 UTC | |
by dragonchild (Archbishop) on Dec 17, 2007 at 14:51 UTC | |
|
Re: detecting code referece
by Gangabass (Vicar) on Dec 17, 2007 at 10:02 UTC | |
|
Re: detecting code referece
by ysth (Canon) on Dec 17, 2007 at 16:23 UTC | |
by chromatic (Archbishop) on Dec 17, 2007 at 19:02 UTC |