You'd need two different functions. The prototype is to help perl parse your code and perl doesn't provide for conditional prototypes.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re^3: Prototypes and hand-written MMD (Ah! No!!)
by diotalevi
in thread Prototypes and hand-written MMD
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |