in reply to Re: passing newline in string argument
in thread passing newline in string argument

I think it's very well worth mentioning that eval is a massive security hole with untrusted input.

  • Comment on Re^2: passing newline in string argument

Replies are listed 'Best First'.
Re^3: passing newline in string argument (avoid string eval)
by eyepopslikeamosquito (Archbishop) on Aug 02, 2025 at 10:41 UTC

    > I think it's very well worth mentioning that eval is a massive security hole with untrusted input

    Strongly agree!

    For string eval that is; block eval (now spelled try in latest versions of Perl) is fine.

    See also: avoid string eval References

    👁️🍾👍🦟