in reply to Getopt::Long error

Options are taken to be flags (state indicated by their presence, and taking no argument) without being specified like 'foo=i' or 'foo=s'. Please read the module's documentation.