Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Thank you for visual explanations.
I learned to use 'do { if( ... ){ ... }else{ ... } }' years ago after reading "The do Block" in the book "Intermediate Perl", Chapter 3. Few days ago I forgot to use 'do { ...else{ } }' and got unexpected (for myself) results, later I played with minimized case which I posted here. And, after examples and explanations, it is interesting that expression inside opposite (= unless) statement is evaluated with negation: Upd.: My comment seems not to be truth. See further discussion - Re^6: printing unitialized value of the 'do BLOCK' proceeded by ikegami. In reply to Re^5: printing unitialized value of the 'do BLOCK'
by rsFalse
|
|