[Za-pm] Re: perldoc

Nick Cleaton nick at cleaton.net
Thu Jun 5 09:08:58 CDT 2003


On Thu, Jun 05, 2003 at 03:30:14PM +0200, Sean Carte wrote:
> > 
> >   exec 'perldoc', $0 if "@ARGV" eq '--help';
> 
> Nice. But I'll keep my warning prevention:
> 
> exec 'perldoc', $0 if ( $ARGV[0] and ( $ARGV[0] eq '--help' ) );

Try mine - no warning.

--
Nick



More information about the Za-pm mailing list