in reply to Re: Forks.pm dilemma
in thread Forks.pm dilemma
PERL_VER = `perl -e 'print $['`
I assume you mean:
as you cannot be sure the Makefile.PL is called by "perl". And note it should be $] rather than $[PERL_VER = `$^X -e 'print $]'`
Actually, if I would have to resort to that, it would probably be easier to not define a macro for 5.6.x, and define a macro with the the PROTOTYPE: string for all other versions.
Liz
Update:
While investigating something about $[, I realized there was an error in this node. So I changed $[ to $] where appropriate and added a comment.
In Section
Meditations