Initialize only two persons reacted, one was in favour of
removing it, one was against removing it. So, I provided a
patch, and that got more reactions. Some in favour, some
against. That's of course enough reaction to not have the
patch accepted. Rafael suggested that it's possible to inspect
the op-tree and determine whether 'print' is used as an operand in a boolean function, and to issue the warning only
then. After a well Hugo responded we though that was a good
idea, and if someone would implement it, he would accept it.
So, there is a tiny chance that in a few years, the warning
won't give so many false positives anymore.
I also got the impression that the people who were in favour of keeping the warning are people who don't write
a space between the function name and the opening paren,
while among the people in favour of removing the warning
were people who do put a space there.
But I have the patch, and from now on, I'll patch any perl I
install so that it won't issue the warning.
Abigail
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.