in reply to Re: Using eval: $@ isn't returning the error I expect
in thread [SOLVED] Using eval: $@ isn't returning the error I expect
I tried this:
$ perl -le 'eval "use cPanelUserConfig;"; print "msg = ($@)" if $@; print "ok"'and got this error:
syntax error at /Library/WebServer/CGI-Executables/orders/orderFormSalesDisplayPreRollout.cgi line 13, near "$ perl "I don't think I'm correctly translating what you typed, into a literal line for my script. Can you tell me what I'm doing wrong? Thanks again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using eval: $@ isn't returning the error I expect
by haukex (Archbishop) on Feb 20, 2020 at 00:08 UTC | |
by doctormelodious (Acolyte) on Feb 20, 2020 at 00:48 UTC |