nasa has asked for the wisdom of the Perl Monks concerning the following question:
This resulted in creating a separate scrolling list for each file in the DIR.opendir(HOMEDIR, "\interest") || die ("Unable to open directory"); while ($filename = readdir(HOMEDIR)) { print scrolling_list('name',[$filename]); } closedir(HOMEDIR);
However this resulted in exactly the same thingopendir(HOMEDIR, "\interest") || die ("Unable to open directory"); while ($filename = readdir(HOMEDIR)) { @array = $filename; print scrolling_list('name',[@array]); } closedir(HOMEDIR);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Scrolling list and data
by ikegami (Patriarch) on Dec 13, 2006 at 06:57 UTC | |
|
Re: Scrolling list and data
by McDarren (Abbot) on Dec 13, 2006 at 06:32 UTC |