if ($args =~ /-iL\s+(\w+)/) { print "Found -iL, the value is $1"; }