Few questions about arguments and subroutines/modules

I'm newbie who is looking for some online tutorial about advanced use of arguments for subroutines and modules. Let's say I have a script that would take 3 arguments first - single word second - sentence third - path additional one that would display help How to : - declare a default value for first argument if not provided by user