do
# given file syntax
do 'file.pl'
# given block syntax
do { @{"${class}::ISA"} }
# given func-args syntax
do('any', [1..4]); # Data::Object::Any
The do function is a special constructor function that is automatically exported into the consuming package. It overloads and extends the core do function, supporting the core functionality and adding a new feature, and exists to dispatch to exportable Data-Object functions and other dispatchers.
do(Str $arg1, Any @args) : Any
function
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 28:
Unknown directive: =description
- Around line 35:
Unknown directive: =signature
- Around line 39:
Unknown directive: =type