SmallWonder
Hello Friends
I am New to Perl Programming.
I am in a Problem.
I have to write a Perl Script which will take variable no of arguments
and will perform accordingly. This can take 1 or 2 or 3.. no of arguments.
Suppose:
Myscript.pl -p
Myscript.pl -p -v
Myscript.pl -p -l
Myscript.pl -p -l -v filename
in all these cases it will perform accordingly.
I have no idea how to handle it.
Please Help me.
Thanks in Advance
Manish
I am New to Perl Programming.
I am in a Problem.
I have to write a Perl Script which will take variable no of arguments
and will perform accordingly. This can take 1 or 2 or 3.. no of arguments.
Suppose:
Myscript.pl -p
Myscript.pl -p -v
Myscript.pl -p -l
Myscript.pl -p -l -v filename
in all these cases it will perform accordingly.
I have no idea how to handle it.
Please Help me.
Thanks in Advance
Manish