what syntax? all i have in the perl generated form is
--------
print "<form method=post action=\"/cgi-bin/view.pl\">";
print "<select name=\"loc\">;
for(@dirlist)
{
print "<option value=$_>$_";
}
the original static form just is a text box that is used to determine the directory.
I should add that this works fine when I have a pre generated html file, but the page with the form is generated from another Perl script, might that be the problem?
Sorry for replying to my own post
I have a website that lists files in a <select> list. My problem is that when it is passed to my perl CGI program, if a file is more than one work [/home/user/hello goodbye.txt] only the first part of the name is passed [/home/user/hello]. I am fairy new to perl and CGI. Help would be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.