in reply to Help display when executing the script
Hi, If I understood your question correctly then try like this,
use strict; use warnings; use Win32; use Getopt::Std; my %opts; getopts("h", \%opts); help() if $opts{h}; sub help { Win32::MsgBox("Help Content", 32, "Help"); exit; }
Updated : Thanks davorg.
Regards,
Velusamy R.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help display when executing the script
by davorg (Chancellor) on Aug 08, 2006 at 10:32 UTC |