in reply to Re^2: slow startup for some common modules? (autodie, Pod::Usage, Getopt::Long))
in thread slow startup for some common modules? (autodie, Pod::Usage, Getopt::Long))

I really wonder why such a program would need the full option processing powers of Getopt::Long, if at all.

Options are most useful for programs that are used for several related but different actions. In particular cases 2 and 3 above I would stick to a dedicated program.

Also, perl -s is even faster than Getopt::Std.

  • Comment on Re^3: slow startup for some common modules? (autodie, Pod::Usage, Getopt::Long))
  • Download Code