Both "do" and "eval" return the value of last expression in the block. "eval" traps exceptions, capturing the argument to "die" and stuffing it into $@. "do" doesn't. I prefer it as a lighter-weight solution to problems like the one you posed.
In reply to Re: Re: Re: Concatenation and Regex on one Statement?
by dws
in thread Concatenation and Regex on one Statement?
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |