Exercises, examples and other material relating to training module P214. This topic is presented on public course
Perl bootcamp
Perl code is remarkably portable, but even with the best will in the world, there are always one or two things to consider if you're writing code that's got to be equally at home on Windows XP, Linux and OS X. This module also covers the use of Perl to access Microsoft-specific DLLs, allowing you to write a program to handle your Word document or Excel spreadsheet directly.
Articles and tips on this subject | updated |
2825 | Perl course - is it tailored to Linux, or Microsoft Windows? Sharing an answer to a customer enquiry ...
Q: Is the course tailored to Linux operating system?
A: "Yes and no" is probably the best short answer I can give :-/
Perl is an extremely portable language - so your Perl script will run very much the same way if the host operating system is Linux, Windows, ... | 2010-06-26 |
1702 | Running operating system commands in Perl Perl is excellent "glueware" - a language which can be well used to connect together a whole lot of elements. And one of those elements may be operating system commands run from within the Perl program.
Here are (three!) ways that you can do it - in each case leaving the result of running the commands ... | 2008-07-10 |
733 | Perl for Systems Admin - suid scripts I've just completed a week teaching Perl to a systems administration team, and most of their work is involved in traversing data logs and system reports and extracting pertinent information / seeing when characteristics change - classic for a Practical Extraction and Reporting Language from which "Perl" ... | 2006-06-05 |
Examples from our training material
back | system dependent backquotes |
blockshell | running a series of shell commands |
courseend.pl | OS independent admin example - bundling up all training examples after a course |
cv | End of line character conversion - Windows to Linux / Unix |
faad | A template system report summary |
hostinfo | Looking up host by IP address and name |
info_more | looking at your perl configuration in detail |
msexcel | Creating an Excel spread sheet |
msword | extracting from a Word document ready for upload! |
mytemp | template for faad example |
registry.pl | Example of using registry from Perl |
userinfo | use of getpwnam for user information |
ws1.wsf | Using Windows Script to list out special directories |
ws2.wsf | Windows script - report on a datafile |
Pictures
A Perl practical
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
[here].
Topics covered in this module
The philosophy.
How is it so portable?.
Finding out what system your script is running on.
Shell access.
System database enquiries.
How Perl helps on crossplatform requirements.
Text files - end-of-line characters.
Handling Microsoft Word and Excel files in Perl.
Summary.
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
Ruby,
Lua,
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.