in reply to Re: Eval Function Question
in thread Eval Function Question

Thank you both for your answers. The second backwhack takes care of the problem. I'm sure we tried that in one of our iterations of the script. Oh well, it works now.
-Brian

Replies are listed 'Best First'.
Re^3: Eval Function Question
by Your Mother (Archbishop) on Nov 04, 2009 at 20:40 UTC

    By the way, you probably should not be doing it at all. eval has teeth: $strvar = "test text \@{[ `rm -rf /' ]) # sic"; for contrived example. There is almost guaranteed to be a better/safer way to do whatever you want. Check what Fletch said about the e flag to start with. If that doesn't cover your needs, probably should ask about the problem you're trying to solve and not just the code that won't work.