hi,
Das klappt alles ganz gut, nur fehlt mir eine Option um das erste Argument zu ermitteln:
Grad ebend mal nachgelesen:
Usually programs take command line options as well as other arguments, for example, file names. It is good practice to always specify the options first, and the other arguments last. Getopt::Long will, however, allow the options and arguments to be mixed and 'filter out' all the options before passing the rest of the arguments to the program. <<
Ergo: Erst die Opts, dann die restlichen Argumente.
Hotte
--
Wenn der Kommentar nicht zum Code passt, kann auch der Code falsch sein.
Wenn der Kommentar nicht zum Code passt, kann auch der Code falsch sein.