render

# given "Hi, {name}!"

$string->render({name => 'Friend'}); # Hi, Friend!

The render method treats the string as a template and performs a simple token replacement using the argument provided.

render(HashRef $arg1) : 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