in reply to Re: AuthorizedDomain script?
in thread AuthorizedDomain script?

Looks like a good redraft but #5 isn't right. The key for the hash is automatically quoted (when possible) so it's not a bareword. It's normal/legal/non-warning Perl.

cow@moo[19]>perl -Mstrict -lwe 'my %h; $h{ABC}++; DEF;' Bareword "DEF" not allowed while "strict subs" in use at -e line 1.