GeekArticles
Web Programming
Perl
Web Programming
PerlUsing perl to connect to remote hosts via telnet.
Did you think it was easy? Suppose you needed to open a connection to a remote host from within your perl program. One thing you would probably think of doing at first is the following: open TELNET "|telnet $hostname"; print TELNET "$username "; print TELNET "$password "; ... Unfortunately, if you try this, you'll find it doesn't work. The telnet program connects to the remote host but it completely ignores any commands you pipe to it. That's because the telnet program reads it input...n
Sponsored Links
Read Next: Perl, Sockets and TCP/IP Networking
Related Topics
Subscribe via RSS
Perl
- Using perl to connect to remote hosts via telnet.
- Perl, Sockets and TCP/IP Networking
- Sending email using perl and sendmail.
- A web client for MP3 streaming in perl
- Multiplexing filehandles with select() in perl.
- Perl XML Quickstart: The Perl XML Interfaces
- Sorting Techniques
- Using XML Modules in Perl
- Skimpy Forum: An Application of Perl and XML
- Web Services with AppleScript and Perl
