in reply to Re: Re: Concatenation and Regex on one Statement?
in thread Concatenation and Regex on one Statement?
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.
|
|---|