use Getopt::Long; GetOptions("i:s",\@ignored_IPs);