Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    die 'Invalid option' if ( $check_option ne 1 );
    
    print "next line";
    
  2. or download this
    $ test.pl
    next line
    ...
    $ test.pl -t 
    Option test requires an argument
    Invalid option at test.pl line 9.