docs: | As per L: $string =~ s/^\s+//; A basic glance through L or L should give you an idea on how to change what characters get trimmed.