koacamper has asked for the wisdom of the Perl Monks concerning the following question:
Thanks for any help that you can provide.my $rc=0; my ($u,$p); my $userid=$query->param('userid'); my $plain_pass=$query->param('password'); unless(open(PFD,$db)) my @users; while (<PFD>) { chomp; ($u,$p,$path)=split('\|',$_); push @users, $u; } close(PFD); unless(open(PFD,$db)) { &printError("Could not open user database"); return; } my @dir; while (<PFD>) { chomp; ($u,$p,$path)=split('\|',$_); push @dir, $path; } close(PFD); print $query->popup_menu(-name=>'directory', -values=>\@dir, -labels=>\@dir=>\@users);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Popup Question
by Masem (Monsignor) on May 14, 2001 at 20:38 UTC | |
|
(Ovid) Re: Popup Question
by Ovid (Cardinal) on May 14, 2001 at 20:50 UTC | |
|
Re: Popup Question
by boo_radley (Parson) on May 14, 2001 at 20:38 UTC |