Did I say that was my last post in the thread. (Hm... remember I had some little discussion with the other merlyn last time, but this merlyn is not that hot tempered one ;-)
First I never said that print was aborted, instead I said "ignored". Also I never said what being ignored is the print statement as a whole, instead, what being ignored is that $a.
Now afetr had a good sleep, I am now thinking this side tracked doscussion is meaningless (so what I am saying is that the discussion started by the thread owner is absolutely meaningful and interesting, but not this sub thread.)
Why do I say this sub-thread is meaningless? Because, in fact, there is actually no way to distinguish the differences of the two concolusions by observation from outside, i.e. any example makes conclusion 1 sounds right, would also make conclusion 2 sounds right.
Conclusion 1:
print treats undef as empty string and issues a waring.
Conclusion 2:
print ignores undef, and issues a warning.
We would realize that, those two conclusions are actually identical, if we are willing to put aside our eagerness to disapprove the other side.
merlyn, I would be more interested in discuss with you/fight against you about the strength and weakness of POE and thread, see you.
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.