in reply to Re^5: Best practice or cargo cult?
in thread Best practice or cargo cult?
This is nothing a little conditional can't cure. From a syntax standpoint, \N is the right symbol to use since \n means "newline" and we have the practice of saying \w|\W and \s|\S. I would think you'd either want to shuffle off the unicode name or just not do the work.
sub import { if ( $] >= 5.010 ) { # Thanks to demerphq, this is native and the overloading isn't + needed. } else { overload::constant qr => \ &convert; } }
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|