Thread Getopt::Long und Abhängigkeit der Optionen. (4 answers)
Opened by toby at 2006-10-26 02:07

ptk
 2006-10-26 09:50
#71184 #71184
User since
2003-11-28
3645 Artikel
ModeratorIn
[default_avatar]
AFAIK kann das Getopt::Long nicht. Du musst die Bedingung (ungetestet:
Code: (dl )
die if ((defined $optionen{option1} && (defined $optionen{option2} || defined $optionen{option3})) || (defined $optionen{option2} && defined $optionen{option3}))
) selbst hinschreiben.

View full thread Getopt::Long und Abhängigkeit der Optionen.