Wrong var.
perl -Mstrict -we 'eval q(x=3) or die "err $@"'
Outputs:
err Can't modify constant item in scalar assignment at (eval 1) line 1 +, at EOF Bareword "x" not allowed while "strict subs" in use at (eval 1) line 1 +.
In reply to Re: eval '...'; die "err: $!"
by tybalt89
in thread eval '...'; die "err: $!"
by almr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |