Help for this page
for (foo()) { bar() } # List while (foo()) { bar() } # Scalar if (foo()) { bar() } # Scalar print(foo()) # List length(foo()) # Scalar
for ($var) { # Scalar s/^/[/; s/$/]/; }