Subject: | missing information: action with various args numbers |
in the section "Changing handler behaviour: eating arguments (:Args)"
it is said I can specify how many Args my action will accept
such as
sub foo :Local :Args(3) {}
not specifying :Args will allow any number of arguments
what If I want to accept with 0, 1 or 2 but not anymore arguments than
that?
i dont know if it is possible but it should be explain there if it is or
not possible and either How. or Why not.
thanks