uday_sagar has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
Here is a simple code, Which i am unable to interpret and understand.
if ($@ || $opt{'h'}) { &pod2usage(-verbose => 2) }I couldnt understand the link between -verbose and the number 2 in "&pod2usage(-verbose => 2)"
Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Understanding arguments to subroutines
by Corion (Patriarch) on May 14, 2012 at 12:31 UTC | |
by toolic (Bishop) on May 14, 2012 at 14:32 UTC | |
by Corion (Patriarch) on May 14, 2012 at 14:42 UTC | |
by toolic (Bishop) on May 14, 2012 at 14:52 UTC | |
by uday_sagar (Scribe) on May 14, 2012 at 12:35 UTC | |
by cdarke (Prior) on May 14, 2012 at 12:45 UTC | |
by toolic (Bishop) on May 14, 2012 at 14:19 UTC | |
by Corion (Patriarch) on May 14, 2012 at 12:41 UTC | |
by DStaal (Chaplain) on May 14, 2012 at 15:11 UTC |