in reply to Re^3: How to trim a line from leading and trailing blanks without using regex or non-standard modules
in thread How to trim a line from leading and trailing blanks without using regex or non-standard modules

If working with Mojo: Mojo::Util->trim.

  • Comment on Re^4: How to trim a line from leading and trailing blanks without using regex or non-standard modules

Replies are listed 'Best First'.
Re^5: How to trim a line from leading and trailing blanks without using regex or non-standard modules
by LanX (Saint) on Aug 14, 2020 at 16:06 UTC
    Not quite, there is no optional parameter to provide the "white" character class.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery