Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Just trying to TELNET

by Anonymous Monk
on Dec 31, 2012 at 22:01 UTC ( [id://1011103]=note: print w/replies, xml ) Need Help??


in reply to Re: Just trying to TELNET
in thread Just trying to TELNET

That solved the MISSING RIGHT CURLY BRACKET, but now it states that here is a syntax error near Port.

Replies are listed 'Best First'.
Re^3: Just trying to TELNET
by ww (Archbishop) on Dec 31, 2012 at 22:44 UTC
    use diagnostics;

    When the messages generated with use strict; use warnings; are beyond your understanding, add diagnostics to your arsenal. See also perldoc splain.

Re^3: Just trying to TELNET
by ERDC (Initiate) on Dec 31, 2012 at 22:45 UTC
    OK got it to work with the following code:
    $telnet = new Net::Telnet ( Timeout=>10, Port=>7300, Errmode=>'die'); $telnet->open('localhost')
    Thanks for your help, it is appreciated

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-23 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found