However, my program is using by some other scripts, which can send several more options. Howcan I handle this situation? Example

Code

GetOptions( 'procdate=d' => \$procdt ,(d for date or it is string?) 'soursdir=s' => \$srcdir , 'report_file=s' => \$rpt_file, 'copy=i' =>\$copy, (which can be 1 or not, if not, I will check it in the future and not copy file) and the same way some other arguments, which for one program will be empty(not define), for another with value ) or die "Incorrect usage!\n";