perlopentut - tutorial on opening things in Perl
Perl has two simple, built-in ways to open files: the shell way for convenience, and the C
way for precision. The choice is yours.
sysopen function in perlfunc(1); the standard open(2),
dup(2), fopen(3), and fdopen(3) manpages; the POSIX documentation.
Copyright 1998 Tom Christiansen.
This documentation is free; you can redistribute it and/or modify it under the same terms as
Irrespective of its distribution, all code examples in these files are hereby placed into the
public domain. You are permitted and encouraged to use this code in your own programs for fun or
for profit as you see fit. A simple comment in the code giving credit would be courteous but is
First release: Sat Jan 9 08:09:11 MST 1999