Hi Brett,
The HTML page is a help book content. It contains other page links. The other page
links contain other pages. It was designed to run from /help/ directory.
The content page printed with your method contains other link pages in different
folder, when I click the other page link , the error is Can't open page. The Perl
script is in /Perl/ folder. The page is in /help/ folder. When the script runs, the
working directory is /Perl/.
I tried to use the chdir function to change to /help/ as working directory and without
any error (use die function). I still get the same error. The address on the browser
is still shown as /Perl/.
Thanks
>>> "Brett W. McCoy" <[EMAIL PROTECTED]> 06/29/01 01:23PM >>>
On Fri, 29 Jun 2001, Mike Truong wrote:
> Is there any way to open a HTM page from the Perl program? When the
> script runs, it opens the page after some conditions were checked.
open(HTML, "<header.html") or die "Could not open header.html: $!\n";
while(<HTML>) { print }
close(HTML)
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
According to Kentucky state law, every person must take a bath at least
once a year.