Open a HTM Page

2001-06-29 Thread Mike Truong

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.

Thanks in advance for you help.



Re: Open a HTM Page

2001-06-29 Thread Brett W. McCoy

On Fri, 29 Jun 2001, Brett W. McCoy 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)
 ^^^
Oops, left off the final ; !

-- Brett
   http://www.chapelperilous.net/btfwk/

But Officer, I stopped for the last one, and it was green!




Re: Open a HTM Page

2001-06-29 Thread Ryan Gralinski

you could just do

print `cat file.html` if (condition);



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.

 Thanks in advance for you help.