in reply to Pipe delimiter
Rather uninformed, CGIs print headers and content to STDOUT.
But yes most of the OP doesn't fit into one recognizable question pattern.
Cheers Rolf (addicted to the Perl Programming Language :) Wikisyntax for the Monastery FootballPerl is like chess, only without the dice