in reply to Backslashed "@" in reg exes

LWP::RobotUA may not need it there. But for longer strings, it's just a good habit to be in. For example,

if ($string =~ m/@a/) {
you'll get
Possible unintended interpolation of @a in string at ./y.pl line 7.
as a warning message under use warnings; (which you are doing, right?). But with the \, you'll get exactly what you wanted - an @-sigil followed by the letter a.