in reply to Problem with regex passed to a hash

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

Replies are listed 'Best First'.
Re^2: Problem with regex passed to a hash
by oldwarrior32 (Sexton) on Oct 02, 2012 at 00:55 UTC

    The module is Net::Telnet

    As you mention, double quotes does the job. Thanks!