Help for this page
Using a colon ":" instead of the equals sign indicates that the option value is optional. In this case, if no suitable value is supplied, string valued options get an empty string '' assigned, while + numeric options are set to 0.
use strict; use warnings; ... foreach (@ARGV) { print "$_\n"; }