trim
# given ' system is ready '
$string->trim; # system is ready
The trim method removes 1 or more consecutive leading and/or trailing spaces from the string. This method returns a string value.
trim() : StrObject
method
5 POD Errors
The following errors were encountered while parsing the POD:
- Around line 10:
Unknown directive: =name
- Around line 14:
Unknown directive: =usage
- Around line 20:
Unknown directive: =description
- Around line 25:
Unknown directive: =signature
- Around line 29:
Unknown directive: =type