This code work, and work even a little (1-20%) faster than usual scalar! It's portable and can be executed automatically in import() if it see user try to import $O_NONBLOCK instead of O_NONBLOCK.eval q{*O_NONBLOCK = \\}.O_NONBLOCK;
In reply to Re^2: Import constants as scalar instead of bareword sub
by powerman
in thread Import constants as scalar instead of bareword sub
by powerman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |