in reply to Re^20: printing unitialized value of the 'do BLOCK' (EXPRESSION vs TERM vs STATEMENT)
in thread printing unitialized value of the 'do BLOCK'
The only examples I remember seeing demonstrate syntax errors, when if isn't used in a statement spot.
Do you have an example where if doesn't return a value as last statement inside inside a do, eval or sub {BLOCK} or similar?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^22: printing unitialized value of the 'do BLOCK' (EXPRESSION vs TERM vs STATEMENT)
by ikegami (Patriarch) on Dec 28, 2019 at 23:25 UTC | |
by LanX (Saint) on Jan 02, 2020 at 13:30 UTC |