Just by chance (because Perl is full of wonders), is it possible to set the command line option -l (add implicit newline after each print) as kind of a pragma for just one block, i.e.
Don't get me wrong: I know that it is absolutely trivial to do without such a feature, but in the case it is available, I would find it useful...# .... part of my program { print "foo"; # prints "foo" } { use ??somepragma??; print "bar"; # automagically prints "bar\n" }
In reply to Setting -l for a block by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |