CODE
print header,start_html("Modules");
print start_form({action=>'http://localhost/cgi-bin/p4q2b.cgi'});
@modules=("Development","Networks ","Professional Issues");
for($item = 0; $item<$#modules+1;$item++){
print "<input type ="radio" name ="module" value =$item>",$modules[$item] ,br;
}
print start_form({action=>'http://localhost/cgi-bin/p4q2b.cgi'});
@modules=("Development","Networks ","Professional Issues");
for($item = 0; $item<$#modules+1;$item++){
print "<input type ="radio" name ="module" value =$item>",$modules[$item] ,br;
}
Should be easy but Im tearing my hair out!
This is a simple form consisting of radio buttons posting information to a perl/cgi script which does a little processing. Picka a codenumber from another array which corresponds to the selected module.
I'd like to pass @modules to the other script so that I could display code and title at the same time.
So how do I pass a list between scripts I've already tried a hidden field but either I'm doing something wrong (very probably) or it just doesn't work.