G'day manan.patel,
Welcome to the monastery.
I can see at a glance that the code you've posted won't compile. This means I don't know what real code you're running. I won't be commenting further on what you have here.
"Hello all, How i can use getopt in my logic??"
There's well-documented, builtin modules to do this. I prefer Getopt::Long. There's also Getopt::Std.
-- Ken
In reply to Re: How i can use getopt in my script?
by kcott
in thread How i can use getopt in my script?
by manan.patel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |