Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    GetOptions( "test=s" => \$option_test );
    
    print 'option is not defined.' if ( ! $option_test );
    
  2. or download this
    $ test.pl
    option is not defined.
    ...
    $ test.pl -t
    Option test requires an argument
    option is not defined.