Hi. How to populate data(select box entries) from ipl file to cfg file.
In my cfg file i have statements like this i am calling testing.ipl file
In testing.ipl file i had statements like this
------------------------------------------------
# Declare which external packages and library routines will be used.
use TeamSite::CGI_lite;
my $iwhome = TeamSite::Config::iwgethome();
my $line;
if (open(MYFILE, "/iw-home/local/bin/Content/Store/work.txt")) {
$line = ;
my
@arr = split("\n", $line);
foreach my $a (
@arr) {
my $line1 = $a;
print <
EEE
}
}
------------------------------------------------
In the above testin.ipl file i am reading data from work file have data like this one 11, two 22 etc.
but in select box of cfg file i am getting only one entry one 11 is printing.
Can any one help me how to get full details in cfg file.
Thanks and regards,
Raja.