in reply to Beware of POSIX constants
The difference is in the subs' prototypes,
The expression 1 + CHAR_MAX works as expected for either constant or POSIX.$ perl -Mconstant=CHAR_MAX,127 -e'print defined(prototype "CHAR_MAX")? +"Yes\n":"No\n"' Yes $ perl -MPOSIX=CHAR_MAX -e'print defined(prototype "CHAR_MAX")?"Yes\n" +:"No\n"' No $
After Compline,
Zaxo
|
|---|