-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
<quote>
...If unspecified switches are found on
the command-line, the user will be warned that an unknown option was
given.
</quote>
si cum fac asta cu getopt? si da, am cetit man Getopt::Std de vreo 20 de
ori... problema mea e sa'l fac pe user atent ca n-are voie sa bage
optiunea y, ci numai optiunile x si z si doar atat.
...and justice for all..
On Thu, 3 Feb 2005, Tarhon-Onu Victor wrote:
| On Thu, 3 Feb 2005, ANDONE Mures wrote:
|
| > getopts('u:p:h', \%opt) or usage();
|
| vai de mine si de mine... Ia te uita:
|
| The getopts() function is similar, but you should pass to it the list
| of all switches to be recognized. If unspecified switches are found on
| the command-line, the user will be warned that an unknown option was
| given.
|
| So use getopt() instead.
|
| --
| Any views or opinions presented within this e-mail are solely those of
| the author and do not necessarily represent those of any company, unless
| otherwise expressly stated.
|
| ---
| Detalii despre listele noastre de mail: http://www.lug.ro/
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCArhI+rMtQ9y8VU4RAqDGAKCMK0dxxPtx1ojToQj2GKOsQDuNGwCfX+GU
8Pt4wAC7gEudcW2NyNCbBBo=
=tJiJ
-----END PGP SIGNATURE-----
---
Detalii despre listele noastre de mail: http://www.lug.ro/