in reply to Re: RFC: pragma pragmatic
in thread RFC: pragma pragmatic
Now I've said that out loud, I'm sure that they'll be one or more pedants pop-up claiming they always use use feature qw[ say ]; and all those other things it can optionally enable -- that noone can remember what they are
Hello! That's me (the pedant).
The reason which I (albeit rarely) use feature 'say'; is that it means I don't have to remember which version of perl introduced say. As a bonus it's also self-descriptive - when I come back to such code in 6 months I don't have to think, "Why in Hades did I use 5.010; here?", although a comment would work just as well. FWIW I don't recall ever using use feature for anything other than "say", so we can agree on that part at least.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: RFC: pragma pragmatic
by BrowserUk (Patriarch) on Aug 09, 2017 at 09:47 UTC |