Anyway it's true is that chaining with and is a lazy way to avoid the already mentioned scalar comma operator:
print, exit if cond
This seems to confuse many people, but has the same effect as
do {print; exit} if cond
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re^3: improve script
by LanX
in thread improve script
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |