Hi,
Can someone explain this for me.I dont know Unix and so am finding problem in understanding pipe concepts.Moreover I am very new to perl and Unix.Got this piece of code from perldoc
open(SPOOLER, "| cat -v | lpr -h 2>/dev/null") || die "can't fork: $!"; local $SIG{PIPE} = sub { die "spooler pipe broke" }; print SPOOLER "stuff\n"; close SPOOLER || die "bad spool: $! $?";
Can someone suggest a good site which explains the basics and advanced concepts in files in a very simple manner. perldoc does not provide much of information.
Thanks in advance
20030903 Edit by Corion: Fixed formatting
In reply to pipe concepts by itzMe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |