Quick perl q =)
Ben Pfaff
pfaffben@msu.edu
08 Jan 2001 22:22:52 -0500
Sean <picasso@madflower.com> writes:
> I have something that works, but basically I was bulk creating a website.
> I have a page-form and need to insert two files or preformatted html
> into it at certain spots.
The commands
open (INPUT, "<FILENAME");
while (<INPUT>) {
print OUTPUT $_;
}
close (INPUT);
will open a file named FILENAME and output its contents to the
file with handle OUTPUT. Is that what you need?
--
"Then, I came to my senses, and slunk away, hoping no one overheard my
thinking."
--Steve McAndrewSmith in the Monastery