tanger has asked for the wisdom of the Perl Monks concerning the following question:
#open newest open(NEW,"<$path/newestm.txt"); @newest_members = <NEW>; close(NEW); #open whosonline use DB_File; tie %whop, "DB_File", "$path/whosonline" or die "Can't open FILENAME: +$!\n"; foreach $newm (@newest_members) { #############THIS IS THE PART I DON'T KNOW ;'( if blahblha (values %whop) #im figuring its going to need a if s +tatement print <<EOF; $newm<b>*</b> - EOF } else { print <<EOF; $newm - EOF } } untie %whop; dbmclose %whop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Looking up a hash by value
by Tyke (Pilgrim) on Feb 23, 2001 at 13:45 UTC | |
|
Re: Looking up a hash by value
by a (Friar) on Feb 23, 2001 at 11:16 UTC | |
by tomhukins (Curate) on Feb 23, 2001 at 16:49 UTC | |
|
(ichimunki) re: Looking up a hash by value
by ichimunki (Priest) on Feb 23, 2001 at 17:23 UTC | |
|
Re: Looking up a hash by value
by merlyn (Sage) on Feb 23, 2001 at 21:19 UTC | |
by tomhukins (Curate) on Feb 23, 2001 at 22:42 UTC | |
by merlyn (Sage) on Feb 24, 2001 at 12:28 UTC | |
by tomhukins (Curate) on Feb 26, 2001 at 14:20 UTC | |
by dkubb (Deacon) on Feb 26, 2001 at 15:10 UTC |