Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Perl Script to Test Telnet Connectivity

by redapplesonly (Sexton)
on Nov 08, 2022 at 21:52 UTC ( [id://11148050]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    me@ubuntu01$ telnet 10.0.0.1 1234
    Trying 10.0.0.1...
    ...
    Escape character is '^]'.
    SSH-2.0-OpenSSH_7.4
    
  2. or download this
    me@ubuntu01$ telnet 10.0.0.2 1235
    Trying 10.0.0.2...
    
  3. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    {
        print "failure.";
    }
    
  4. or download this
    exists argument is not a HASH or ARRAY element or a subroutine at ./te
    +lnetTest.perl line 22.
    
  5. or download this
    if(exists($telnetObj))
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11148050]
Approved by LanX
Front-paged by LanX
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-19 17:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found