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";
In reply to Re^3: how can I execute an html file from Perl
by hippo
in thread how can I execute an html file from Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |