source: trunk/tp-perl/getoptstd.pl @ 351

Last change on this file since 351 was 268, checked in by nanardon, 13 years ago
  • likelly end
File size: 142 bytes
RevLine 
[268]1#!/bin/env perl -W
2
3use strict;
4use Getopt::Std;
5
6getopts('tp:', \my %opts);
7
8$opts{p} ||= '';
9
10if (!$opts{t}) {
11    print $opts{p} . "\n";
12}
Note: See TracBrowser for help on using the repository browser.