<DIV>Thanks Guys!<BR><BR><B><I>Kevin Christopher <bpm@binarymojo.net></I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">The CGI.pm module should provide a way for you to populate a<BR>drop down list with readdir().<BR><BR>You should be able to do something like:<BR><BR>my @dir_results = readdir(DIR);<BR>...<BR><BR>print $cgi->popup_menu(<BR>-name=>'directory',<BR>-values=>\@dir_results,<BR>);<BR>...<BR><BR>Kevin C.<BR><BR>><BR>> Mongers,<BR>><BR>> I need to create a drop down list that will contain options, which<BR>> will include all the files read from a directory. Obviously, things<BR>> are added and deleted in the directory, and I need the drop down to<BR>> reflect and be in tandem with the state of the directory. I've checked<BR>> out a lot of docs and have only found hard coded option examples. Any<BR>> thoughts/pointers? Thanks.<BR>><BR>> -Dan<BR>><BR>><BR>> ---------------------------------<BR>> Do you Yahoo!?<BR>> Get better spam
protection with Yahoo! Mail<BR><BR><BR></BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
Get better spam protection with <a href="http://us.rd.yahoo.com/mailtag_us/*http://antispam.yahoo.com/tools">Yahoo! Mail</a>