Is it possible to combine multiple statements into a single expression? A block could do this but I am wondering whether they could also be packaged into a expression.
Combine multiple statements into an expression in Perl?
178 views Asked by Thomson At
1
That's exactly
do BLOCK
's purpose.For example,