Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Problem with regex passed to a hash

by kcott (Abbot)
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


Comment on Re: Problem with regex passed to a hash
Select or Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-07-04 23:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls