snakecase

# given 'hello world'

$string->snakecase; # hello_world

The snakecase method modifies the string such that it will no longer have any non-alphanumeric characters and all words (groups of alphanumeric characters separated by 1 or more non-alphanumeric characters) are joined by a single underscore. This method returns a string value. Any leading or trailing underscores are removed.

snakecase() : 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 28:

Unknown directive: =signature

Around line 32:

Unknown directive: =type