Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2014-10-20 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (76 votes), past polls