in reply to Re^2: printing unitialized value of the 'do BLOCK'
in thread printing unitialized value of the 'do BLOCK'
Fletch pointed out in the CB that using -x7 with B::Deparse gives the following confirmation:
Where if (EXPR) {BLOCK} is equivalent to EXPR and do { BLOCK } which confirms haukex's interpretation. It's worth noting that if the two forms are equivalent, the latter is probably a lot less confusing when the output value is used.perl -MO=Deparse,-x7 -e "if ($a) { &BLOCK }" $a and do { &BLOCK }; -e syntax OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: printing unitialized value of the 'do BLOCK'
by LanX (Saint) on Dec 17, 2019 at 20:01 UTC | |
|
Re^4: printing unitialized value of the 'do BLOCK'
by haukex (Archbishop) on Dec 17, 2019 at 16:09 UTC | |
|
Re^4: printing unitialized value of the 'do BLOCK'
by rsFalse (Chaplain) on Dec 23, 2019 at 08:22 UTC | |
by LanX (Saint) on Dec 23, 2019 at 12:54 UTC | |
by rsFalse (Chaplain) on Dec 23, 2019 at 21:22 UTC |