getopt
Roztocil Bohuslav
Bohuslav.Roztocil na tconsult.cz
Úterý Únor 24 20:45:16 MET 1998
Nebo pouzit
getopts('h')
z tehoz modulu. Pod NT to funguje.
Bob
> ----- Original Message -----
> From: adelton na fi.muni.cz [SMTP:adelton na fi.muni.cz]
> Reply To: perl na muni.cz [SMTP:perl na muni.cz]
> Sent: Tuesday, February 24, 1998, 20:41:34
> To: Multiple recipients of list
> Subject: Re: getopt
>
> Rostislav Matl <xmatl na fi.muni.cz> writes:
>
> > #! /usr/bin/perl -w
> >
> > use Getopt::Std;
> >
> > #zpracujeme parametry:
> > getopt('h');
> > if ($opt_h)
> > {
> > print "HELP!";
> > exit 0;
> > }
> >
<snip>
>
> Reseni? getopt('');
>
> Doufam, ze to pomuze,
>
> --
>
------------------------------------------------------------------------
> Honza Pazdziora | adelton na fi.muni.cz |
http://www.fi.muni.cz/~adelton/
> I can take or leave it if I please
>
------------------------------------------------------------------------
> ----- End Of Original Message -----
Další informace o konferenci Perl