G'day oldwarrior32,
I suspect you want double-quotes around $usename.
I had intended to investigate this a little more thoroughly but I can't find a Telnet module on CPAN - there's quite a few with Telnet as part of their names. Perhaps provide a link to the module in question.
-- Ken
In reply to Re: Problem with regex passed to a hash
by kcott
in thread Problem with regex passed to a hash
by oldwarrior32
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |