loopy loop

2002-02-24 Thread terri harrison
This script loops fine but the search only works the first time - nothing happens for a second search. Any idea why? Terri #!/usr/bin/perl -w use strict; my $exit = 1; my $bigmatch = 0; my %rec = (); my $search = ''; sub read_addr { my %curr = (); my $curr = ''; my $key = '';

Web Address for Archives

2002-02-18 Thread terri harrison
Is there a web address to search archived messages for this list? Thanks Terri _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

regular expressions

2002-02-14 Thread terri harrison
If my input is in the form: Name: Happy, Species: Cat, Gender: Male Name: Peanut, Species: Hamster, Gender: Female how come foreach (keys %names) { if ($names{$_} =~ /\s*Gender:\s*$gen\s*/i) { AND if ($names{$_} =~ /\s*Species:\s*$sp\s*/i) { WORK why doesn't if ($names{$_} =~ /\s*Name:\s*$pn\s

Keys and values

2002-02-09 Thread terri harrison
$names{$raw[1]} = $raw[0]; } else { $pn = " "; for ($i = 0; $i < $#raw; $i++) { $pn .= $raw [$i] . " "; } $names($raw[$#raw]} = $pn; } } Thanks, Terri Harrison _ Get your FREE download of