shan_emails has asked for the wisdom of the Perl Monks concerning the following question:
#!c:/perl/bin/perl.exe use strict; use CGI qw(:standard); use CGI::Carp qw(fatalsToBrowser warningsToBrowser); my $file = 'undersite/1.txt'; my $html = new CGI; print $html->header('text/html'); print $html -> start_html(); print $html -> start_form(); print $html -> p("Hi"); print $html -> p({}, "<a href=\"$file\">text file link</a>"); print $html -> end_html(); print $html -> end_form();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: could not open a physical file using href
by CountZero (Bishop) on Sep 21, 2009 at 17:55 UTC | |
|
Re: could not open a physical file using href
by ikegami (Patriarch) on Sep 21, 2009 at 15:09 UTC | |
by shan_emails (Beadle) on Sep 21, 2009 at 15:18 UTC | |
by ikegami (Patriarch) on Sep 21, 2009 at 15:27 UTC | |
|
Re: could not open a physical file using href
by Anonymous Monk on Sep 21, 2009 at 15:06 UTC |