Rather than hard-code the "magic number"` '5.018', I'd go with
BEGIN { eval { require warnings; warnings->unimport('experimental::sma +rtmatch') } }
- tye
In reply to Re^2: Best option for "switch/case" functionality? (magic numbers)
by tye
in thread Best option for "switch/case" functionality?
by cheselton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |