madM has asked for the wisdom of the Perl Monks concerning the following question:
and another quick question... is it posible to call a subroutine in another subroutine with getopt:long?GetOptions ( 'opta=s' => \&a, 'optb=s' => \&b, 'optc=s' => \&c, )or die "not working: $!\n"; sub a { blabla } sub b { blabla } sub c { blabla }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using getopt::Long
by runrig (Abbot) on Mar 12, 2014 at 20:12 UTC | |
|
Re: Using Getopt::Long
by toolic (Bishop) on Mar 12, 2014 at 20:09 UTC | |
|
Re: Using getopt::Long
by TomDLux (Vicar) on Mar 13, 2014 at 02:58 UTC | |
|
Re: Using getopt::Long
by Discipulus (Canon) on Mar 13, 2014 at 08:08 UTC |