in reply to Default subroutine parameters
Try this node, it is not short but it will do everything you want fairly easily. Hope it helps... Getting subroutine @_ w/ defaults
In Section
Seekers of Perl Wisdom
in reply to Default subroutine parameters