in reply to Re^2: Using eval to s/// with a pattern supplied on the command-line
in thread Using eval to s/// with a pattern supplied on the command-line

This is because the qw-list is a literal, thus not modifyable.
  • Comment on Re^3: Using eval to s/// with a pattern supplied on the command-line