parse

# given Foo::Bar

$space->parse('Foo::Bar');

# ['Foo', 'Bar']

$space->parse('Foo/Bar');

# ['Foo', 'Bar']

$space->parse('Foo\Bar');

# ['Foo', 'Bar']

$space->parse('foo-bar');

# ['FooBar']

$space->parse('foo_bar');

# ['FooBar']

The parse method parses the string argument and returns an arrayref of package namespace segments (parts) suitable for object construction.

parse(Str $arg1) : ArrayRef

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 38:

Unknown directive: =description

Around line 43:

Unknown directive: =signature

Around line 47:

Unknown directive: =type