For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > January 2007 > array searching









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author array searching
jimcanon@gmail.com

2007-01-12, 3:59 am

Hi,

This is my first question, I appreciate any information you provide. I
want to compare the numbers after : in @jn to the numbers after job in
@job1 and @job2.


@jn =
JN.2007:555
JN.2007:8433
JN.2007 :594
JN.2007:111
JN.2007:4663
JN.2007.321
JN.2007:2221


@job1 =
job555
job572
job8433
job873
job594
job4663
job2221
job2223

@job2 =
job555
job8433
job873
job594
job4663
job2221
job2223

I want to put what is missing in @jn compared to @job1 and @job2 in
@jobMissing :

job572
job873
job2223

I want to put what is missing in @job1 and @job2 compared to @jn in
@jnMissing :
job111
job321


Thanks and Regards,
Jim

Uri Guttman

2007-01-12, 3:59 am

>>>>> "j" == jimcanon <jimcanon@gmail.com> writes:

j> This is my first question, I appreciate any information you provide. I

no, it is your third question. you posted in comp.lang.perl.misc and
twice here. don't multipost to different groups and don't repost to the
same group.

uri

--
Uri Guttman ------ uri@stemsystems.com -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com