Subject: | Allow different subroutine keywords |
When using something like Function::Parameters, subroutines like these:
method get_value () {
}
fun get_other_value () {
}
Become:
method get_value() {
}
fun get_other_value() {
}
Even though sub with a subroutine signature is left with the space before the parentheses:
sub get_value () {
}
It would be nice if there was support for other subroutine keywords that could behave like sub. The two above are specific to Function::Parameters, so maybe there could be a config option to pass other allowed subroutine keywords?