in reply to Re^4: Code review: function to trim whitespace from all items in a list
in thread Code review: function to trim whitespace from all items in a list

Cool so I can use it already. =)

But are you sure that Critic is silenced now if you are still operating on @_ ?

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: can I raise my head again now? ;-p

  • Comment on Re^5: Code review: function to trim whitespace from all items in a list

Replies are listed 'Best First'.
Re^6: Code review: function to trim whitespace from all items in a list
by choroba (Cardinal) on Nov 21, 2014 at 11:22 UTC
    Critic is silenced for the ProhibitMutatingListFunctions. It still complains about no return and @_ (in my opinion, both pointless in 1 line subs), and it doesn't like map and grep with expressions, but I do. YMMV.

    PS: 起來!

    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ