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/


Raspunde prin e-mail lui