Index of /~jamie/teach/course/CS/3172/examples/perl/ipc/pipes/pipe-errors
Name Last modified Size Description
Parent Directory -
01_write_ten.pl 2007-08-29 20:04 702
01_write_ten.pl.source 2007-08-29 20:04 702
02_write_ten_ph.pl 2007-08-29 20:04 719
02_write_ten_ph.pl.source 2007-08-29 20:04 719
03_write_ten_i.pl 2007-08-29 20:04 685
03_write_ten_i.pl.source 2007-08-29 20:04 685
04_write_ten_popi.pl 2007-08-29 20:04 869
04_write_ten_popi.pl.source 2007-08-29 20:04 869
Errno.pm 2007-08-29 20:04 6.4K
read_three.pl 2007-08-29 20:04 370
read_three.pl.source 2007-08-29 20:04 370
PIPE Error Examples for Dal CS 3172 : Web-centric Computing
CS3172 > 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/teach/course/CS/3172/examples/perl/ipc/pipes/pipe-errors/README.shtml
- Version:
- Sunday, 29-Nov-2009 14:30:03 AST
- CS 3172 Prof:
- J. Blustein <jamie@cs.dal.ca>
- Shortcuts
- Accesskey menu
- Sitemap
- Site search