Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Tips and short articles on this subject
Answering ALL the delegate's Perl questions
Packages in packages in Perl
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Perl module P616
FTP and Telnet Modules
Exercises, examples and other material relating to training module P616. This topic is presented on public course Using Perl on the Web

Using Perl on the Web - CGI, mod-Perl, and other standards. Sessions, cookies, content management, etc. This advanced course takes the Perl programmer ...
http://www.wellho.net/course/pwfull.html  [course]
use Net::SSH::Perl ; $scon = Net::SSH::Perl->new ("www.savethetrain.org.uk"); $scon->login("savethetrain","abc123"); print "looking around ...\n"; ($output,$errors,$exit) ...
http://www.wellho.net/resources/ex.php4?item=p616/sshlet  [code sample]
In perl, all your variables (except "my" ones, which we'll leave for another day) are arranged into packages, and by default that's a package called "main". ...
http://www.wellho.net/mouth/531_Pack ... -Perl.html  [short article]
During courses, questions arise. "I'll get back to that" could make people feel that I'm brushing something off ... except that I explain, early on, ...
http://www.wellho.net/mouth/975_Answ ... tions.html  [short article]
#!/usr/bin/perl use Net::Telnet; print "reporting end of web server log files:\n"; $telobj = Net::Telnet->new( Host => "seal", Prompt ...
http://www.wellho.net/resources/ex.php4?item=p616/telnetdemo  [code sample]
#!/usr/bin/perl use Net::FTP; print "retrieving file from seal\n"; $ftpobj = Net::FTP -> new ("seal"); $ftpobj -> login("p1","abc123"); $ftpobj -> cwd ...
http://www.wellho.net/resources/ex.php4?item=p616/ftpdemo  [code sample]
#!/usr/bin/perl use Net::FTP; # searches for files # matching a certain # pattern within or below a # named directory on an FTP # server print "Search ...
http://www.wellho.net/resources/ex.php4?item=p616/ftp2  [code sample]

FTP and telnet are excellent ways to work with remote computers, but they're designed around a human user with keyboard input and screen output. Using Perl modules, you can automate FTP and telnet processes that you run regularly, and even use FTP and telnet connections to access remote data from within a larger Perl application.

This topic is presented on public course Using Perl on the Web

Examples from our training material
ftp2   Recursive FTP client in Perl
ftpdemo   Simple FTP retreival in Perl
sshlet   Using ssh to contact a remote host
telnetdemo   Log in to a remote host and run a command
Pictures
A Perl programming practical
Background information
This module is available under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
Simple example.
More flexible transfers.
Enquiries.
Other facilities.
Net::Telnet.
Running a remote shell and commands.
Using Net::Telnet to hold a remote conversation.
Net::DNS.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.


© WELL HOUSE CONSULTANTS LTD., 2009: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho