EXAMPLE:- findfiles -input [-nd -na ] data [-nc -nd] modem apps -des "finding files" -r 1000 Basically ,pseudco code of what I want to achieve is below.Really appreciate if someone can give me the perlversion of the code. for each "input option value" { call function A if not exits nd call function B if not exits na call function C if not exists nc }