good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: directory Content Drop-downby moxliukas (Curate) |
on Sep 16, 2002 at 22:56 UTC ( [id://198393]=note: print w/replies, xml ) | Need Help?? |
Could you give us a bit more details? Is this for GUI application with Perl/Tk or HTML/CGI? I am not familiar with Perl/Tk, but in HTML you can use <SELECT> tag to do this kind of thing (there is also a CGI.pm function that builds this drop down list) You can read the directory using functions opendir, readdir and closedir to get the file names
In Section
Seekers of Perl Wisdom
|
|