I think trim is just a function. The function means that it takes arguments and returns return value. I think the benefits of adding trim as a Perl grammar are small. I think it's a best idea to add trim to Scalar::Util. use Scalar::Util 'trim'; trim $string; The reason is that there are a few changes and the benefits are great. I think The next best idea is to add a new namespace. use Scalar 'trim'; trim $string; This adds a new namespace, or module, so the size of the changes will be a bit larger. 2020年11月19日(木) 5:20 Christian Walde <walde.christian@gmail.com>: > One more note: > > say is EXTREMELY similar to trim, and as far as i can tell was VERY well > received and caused no significant issues. Right? > > -- > With regards, > Christian Walde >Thread Previous | Thread Next