in reply to Re: slow startup for some common modules? (autodie, Pod::Usage, Getopt::Long))
in thread slow startup for some common modules? (autodie, Pod::Usage, Getopt::Long))
By "postponing until needed", do you mean something like eval q{use Pod::Usage}, whenever the help message is needed ?
Thanks for the pointer to Getopt::Std, I'll consider it the next time around. I've ended up coding a simple arg-parsing loop in the meanwhile (the repo is ssh_agent_share; quite trivial, but it seems I end up learning something new every time I reach back to perl).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: slow startup for some common modules? (autodie, Pod::Usage, Getopt::Long))
by Marshall (Canon) on Dec 29, 2022 at 05:44 UTC | |
by almr (Beadle) on Jan 06, 2023 at 23:08 UTC | |
by LanX (Saint) on Jan 07, 2023 at 02:46 UTC | |
|
Re^3: slow startup for some common modules? (autodie, Pod::Usage, Getopt::Long))
by NERDVANA (Priest) on Dec 31, 2022 at 07:34 UTC | |
|
Re^3: slow startup for some common modules? (autodie, Pod::Usage, Getopt::Long))
by Anonymous Monk on Dec 28, 2022 at 18:40 UTC |