Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Telnet Client/Server: What am I doing wrong?

by PM_Visitor (Initiate)
on Dec 15, 2012 at 02:24 UTC ( [id://1008923]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $t->print("!");
    my $data = $t->get();
    print STDOUT "$data\n";
    WriteToScreen($data);
    return;
    
  2. or download this
    print STDOUT "Get_CMap() Live Mode\n";
    select($t);
    ...
    $newCMapData = $t->get();
    print STDOUT "$newCMapData\n";
    WriteToScreen($newCMapData);
    
  3. or download this
     sub WriteToScreen {
          my ($msg) = @_;
    ...
          $screen->configure(-state => "disabled");
          $screen->yview("end");
    }
    
  4. or download this
    $cm1 = "M 11:24:49 25,00 7 UTL QRY CMAP 064 TODC---- TYPE DC102 4 LN M
    +SG:\r\n
     04124  20003  19317  19318  00000  19320  19324  19315\r\n
     19323  19314  19316  19319  00000  19601  00000  20103\r\n
     19604  07301  07302  07303  00403  07304  19407  19410   COMPL\r\n";
    
  5. or download this
      if ($cmd =~ m/cmap 111/ig) {
         select (NS);
    ...
         print NS "\n";
         print STDOUT "$cm1";
      }
    
  6. or download this
        if ((length($ll) < 3) && ($ll !~ /!/g)) {
            print NS "!";
            print STDOUT "3!\r\n";
            next;
            }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-24 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found