in reply to Re^2: Using Getopt::Long to call subroutines
in thread Using Getopt::Long to call subroutines

Does this code mean that unless an arguement is found in the command line it will run subroutine sub1 by default?

Yes. Just what you asked for.

Also, I like your slogan.

Thanks! You can find a bit about the source of my "signature" on my homenode.

We're building the house of the future together.
  • Comment on Re^3: Using Getopt::Long to call subroutines