in reply to how to make -h optional in GetOpt::Long
What you have pairs up 'h=s' with a reference to the result of evaluating error_detect("h"). Try
(note the ampersand).'h=s' => \&error_detect("h"),
the lowliest monk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to make -h optional in GetOpt::Long
by ikegami (Patriarch) on Jun 02, 2005 at 04:16 UTC | |
by bahadur (Sexton) on Jun 02, 2005 at 06:14 UTC | |
by ikegami (Patriarch) on Jun 02, 2005 at 06:25 UTC |