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

florg
 2005-07-12 08:06
#56350 #56350
User since
2005-07-12
1 Artikel
BenutzerIn
[default_avatar]
Hallo,

in Getopt::Std werden zwei verschiedene Funktionen beschrieben: 'getopt' und 'getopts':

Code: (dl )
getopt("x", \%opt);


Damit funktioniert dein Code dann auch.
Die Alternative ist, noch ":" mitzugeben:

Code: (dl )
getopts("x:",\%opt);


HTH,

florg

View full thread keine option