Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Problem with regex passed to a hash

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

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996777]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2016-02-06 08:16 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (219 votes), past polls