...Prototype mismatch: sub main::trim: none vs ($) at ...