Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Problem with regex passed to a hash

by kcott (Chancellor)
on Oct 02, 2012 at 00:22 UTC ( #996777=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996777]
help
Chatterbox?
and all is calm...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2017-07-23 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (346 votes). Check out past polls.