Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
I generate a relative simple HTML page I want to open in the standard Browser used in a Windows computer. I generally can open a html file stored locally with the following
my $filename = "/abc.html"; system("start file://$filename");
I would like to do the same without saving the HTMl code I've generated in a html file. I have the HTML code in a variable. Do you see any possibility to do it? The only thing I've come up is to use a temporary file (File::Temp). Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Generate HTML and open it in standard Browser (Windows)
by Corion (Patriarch) on Jun 11, 2014 at 14:43 UTC | |
|
Re: Generate HTML and open it in standard Browser (Windows)
by roboticus (Chancellor) on Jun 11, 2014 at 16:42 UTC | |
|
Re: Generate HTML and open it in standard Browser (Windows)
by Anonymous Monk on Jun 11, 2014 at 14:45 UTC | |
|
Re: Generate HTML and open it in standard Browser (Windows)
by LanX (Saint) on Jun 11, 2014 at 14:45 UTC | |
|
Re: Generate HTML and open it in standard Browser (Windows)
by neilwatson (Priest) on Jun 11, 2014 at 14:42 UTC | |
|
Re: Generate HTML and open it in standard Browser (Windows)
by Discipulus (Canon) on Jun 12, 2014 at 07:22 UTC | |
|
Re: Generate HTML and open it in standard Browser (Windows)
by locked_user sundialsvc4 (Abbot) on Jun 11, 2014 at 16:30 UTC |