# meta::subroutine
📦 std
## Functions
### Subroutines
#### `is_method`
`$metasub->is_method`: whether the sub is a `method` of a `class`.
#### `subname`
`$metasub->subname`: the sub’s fully qualified name, or undef.
#### `set_subname`
`$metasub->set_subname($name)`: give the sub the name `$name`, in the calling package unless it is qualified; it returns the object.
#### `prototype`
`$metasub->prototype`: the sub’s prototype, or undef.
#### `set_prototype`
`$metasub->set_prototype($proto)`: set the prototype, or with undef remove it; it returns the object.
### Signatures
#### `signature`
`$metasub->signature`: the sub’s signature as a `meta::subsignature`, or undef for a sub without one.