Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
Cgi.pm and CSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Nikos, post: 4788261"] Sorry for that Tad, i always quote messages but i was just too confused at the moment. For example in my cgi.pm vesrsion i was loading the value in a drop down menu. here i try to dot he same in my tamplate file but i cant. i cant evne print a value <TMPL_LOOP name=@files> <option value="<TMPL_VAR name=@files>"><TMPL_VAR name=@files></option> </TMPL_LOOP> here is the perl code that tries to fill in those values: @display_files = map ( /([^\/]+)\.txt/, glob '../data/text/*.txt' ); @files = map { option => $_ }, @display_files; $tmpl->param( options => \@files ); Why doesnt it fill the values in the drop down menu? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
Cgi.pm and CSS
Top