Thread keine option (3 answers)
Opened by Gast at 2005-07-12 05:04

Gast Gast
 2005-07-12 05:04
#56349 #56349
Hallo, habe folgenden code:

Code: (dl )
1
2
3
use Getopt::Std;
getopts("x", \%opt);
print opt{x};

wenn ich jetzt das script mit:
Code: (dl )
progname -x lol

starte, ist opt{x} 1 und nicht lol.

Kann mit das jemand erklären?
Danke :)

View full thread keine option