Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
<17>11,2002,FORD ,ECONO CO, ,34567676xxxxx <17>11,2002,FORD ,ECONO CO, ,34567676xxxxx
<br> $temp_file = "${curr_dir}work/$AoH{20}_p22.txt"; open(TEMP, "$temp_file") || print "Can't open temp file: $temp_file\n" +; while(<TEMP>) { $_=~/<(.*?)>(.*)/; unless ($2 eq "*") { unless ($1 eq "20") { if ($1 eq "17") { my $hold=$2; $hold=~/^(\d\d),(.*?),(.*?),(.*?),(.*)/; $AoH{10}= $AoH{10}."<option value=\"$1\">$2,$3,$4 \n"; } else { $AoH{$1}=$2;} } } } close TEMP;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: String Duplication
by dragonchild (Archbishop) on Jul 16, 2003 at 15:01 UTC | |
by Anonymous Monk on Jul 16, 2003 at 15:10 UTC | |
|
Re: String Duplication
by jmanning2k (Pilgrim) on Jul 16, 2003 at 15:09 UTC | |
by Anonymous Monk on Jul 16, 2003 at 15:49 UTC | |
by jmanning2k (Pilgrim) on Jul 16, 2003 at 17:30 UTC |