Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Perl Socket Programming Examples

It's always a pleasure to run private courses - for when a questions that's a little bit away from the normal comes up, I can take time to provide a full answer and demonstration without fear of loosing delegates from other companies who have no interest. And so it was today - I have two examples, plus an old favourite.

Firstly, my customers told me that they'll be running a number of other programs / commands from within Perl, and wish to use Perl as the "puppeteer" - writing to and reading from those other processes even as they run. Choosing ping as an example program to run from within Perl, opened a demonstration process on a pipe and then read from that pipe. See Source code

Then, I was asked about (and got involved) in socket programming. The first example, with it all in a single program, got a little long ... so I refactored into a structured program, which makes it much easier to follow. See both the main program source code and the code of the subs that I used

Finally, they say "the old ones are the best", don't they? I so often write a demonstration to show context - how a list referred to in different ways can be output as all the elements jammed together, with the elements spaced out, or as just the number of elements in the list. Today's demonstration has its source code here on our site.
(written 2008-12-02 20:53:39)

 
Associated topics are indexed under
P208 - Perl - Lists
P223 - Perl - Interprocess Communication
P224 - Perl - Intersystem Communications

Back to
Out of memory during array extend - Perl
Previous and next
or
Horse's mouth home
Forward to
Transition
Some other Articles
Flurinci knows Raby Lae PHP and Jeve
Romeo and Julie
Progress Bar Techniques - Perl
Transition
Perl Socket Programming Examples
Out of memory during array extend - Perl
Why I remember East Grafton
Quietly putting prices up
It must be nearly Christmas
Alastair Darling helps make paperwork and confusion
1975 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

© 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