Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Quickly changing a function under test in Test::Moreby carcassonne (Pilgrim) |
on Mar 09, 2006 at 13:23 UTC ( [id://535379]=perlquestion: print w/replies, xml ) | Need Help?? |
carcassonne has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
I'm used to call functions like this:
So I thought it could be as easy to quickly change, for development purposes, a function under test by doing:
But no dice. Syntax error. So how are 'function pointers' used with scalars ? Thanks !
Back to
Seekers of Perl Wisdom
|
|