It's in the FAQ.

perldoc -q compare

Lee

At 18:54 14/05/2002 +0000, steve silvers wrote:
>I have two different fields im pulling from my database.
>
>$row1 = (12|13|14|15|16|17|18|19|20); #compare with what's below.
>
>$row2 = (12|14|20|14|14|15|15|23|13); #original data.
>
>I need to compare what's in $row1, with what's in $row2, a...
>
>Too many errors encountered; the rest of the message is ignored:
>are duplicates. The above would render.
>
>12 one time.
>13 one time.
>14 three times.
>15 two times.
>16 zero times.
>17 zero times.
>18 zero times.
>19 zero times.
>20 zero times.
>
>That's it. I'm sure this is pretty easy for some. The numbers are pipe
>delimited.
>
>Any suggestions.
>Thanks in advance.
>Steve.
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>_______________________________________________
>Perl-Win32-Users mailing list
>[EMAIL PROTECTED]
>To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Lee Goddard
perl -e "while(1){print rand>0.5 ? chr 47 : chr 92}"

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to