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 reply to Re: Re: Forks.pm dilemma
by liz
in thread Forks.pm dilemma
by liz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |