in reply to Re^2: Display DIR files and output in html to select a file
in thread Display DIR files and output in html to select a file
So this is the portion that I am referencing
foreach my $file (@files) { print $list->p( $list->a({-href=>$file}, $file) );
the href is looking for the correct file name just in the wrong DIR looking in cgi-bin. How would I say $list->a({-href=>$fileDir+$file}, So have the href look in the $fileDir and display the $file to read it. I want the href to include the correct DIR+File
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Display DIR files and output in html to select a file
by Anonymous Monk on Feb 25, 2015 at 01:04 UTC |