in reply to Re^2: how can I execute an html file from Perl
in thread how can I execute an html file from Perl
I think what you are now saying is that, given an absolute path on the filesystem, convert that to a URL and print it. In which case something like this (untested) should do:
(my $url = $out_file) =~ s#$ENV{DOCUMENT_ROOT}#http://$ENV{SERVER_NAME +}#; print "Go to $url now for prizes!\n";
|
|---|