strip

# given 'one,  two,  three'

$string->strip; # one, two, three

The strip method returns the string replacing occurences of 2 or more whitespaces with a single whitespace. This method returns a string object.

strip() : 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 26:

Unknown directive: =signature

Around line 30:

Unknown directive: =type