Index of /~jamie/course/CS/4173/examples/perl/ipc/pipes/pipe-errors
Name Last modified Size Description
Parent Directory -
01_write_ten.pl 2005-01-05 17:56 702
01_write_ten.pl.source 2005-01-05 17:56 702
02_write_ten_ph.pl 2005-01-05 17:56 719
02_write_ten_ph.pl.s..> 2005-01-05 17:56 719
03_write_ten_i.pl 2005-01-05 17:56 685
03_write_ten_i.pl.so..> 2005-01-05 17:56 685
04_write_ten_popi.pl 2005-01-05 17:56 869
04_write_ten_popi.pl..> 2005-01-05 17:56 869
Errno.pm 2005-01-05 17:56 6.4K
read_three.pl 2005-01-05 17:56 370
read_three.pl.source 2005-01-05 17:56 370
PIPE Error Examples for Dal CS 4173 : Web-centric Computing
CS4173 > Mats > examples/ > perl/ > ipc/ > pipes/ >
pipe-errors/
J. Blustein
pipe-errors/ directory
Directories
- pipes/ parent directory
- this directory
Files
- README
- Some notes about the programs. All these programs are from
Network Programming With Perl by Lincoln D. Stein
- Errno.pm
- from CPAN
- read_three.pl
- reads three lines from standard input
- 01_write_ten.pl
- opens a pipe to read_three.pl and tries to write ten
lines, uses very little error checking
- 02_write_ten_ph.pl
- like 01_write_ten.pl but checks for PIPE signals and
stops as soon as it is recieved
- 03_write_ten_i.pl
- like 01_write_ten.pl but checks for errors after each
print
statement and stops as soon as an error is
detected
- 04_write_ten_popi.pl
- intercepts the
PIPE
signal (as
02_write_ten_ph.pl does) and decides what to do depending
on what the real error condition was
http://web.cs.dal.ca/~jamie/course/CS/4173/examples/perl/ipc/pipes/pipe-errors/README.shtml
- Version:
- Tuesday, 21-Jun-2005 12:21:28 ADT
- CS 4173 Prof:
- J. Blustein <jamie@cs.dal.ca>
- Shortcuts
- Accesskey menu
- Sitemap
- Site search