Can you hep me with my Perl homework?

Posted by riya on Stack Overflow See other posts from Stack Overflow or by riya
Published on 2010-04-29T16:12:55Z Indexed on 2010/04/29 16:37 UTC
Read the original article Hit count: 462

Filed under:
|
|

Could someone write simple Perl programs for the following scenarios:

  1. convert a list from {1,2,3,4,5,7,9,10,11,12,34} to {1-5,7,9-12,34}

  2. to sort a list of negative numbers

  3. to insert values to hash array

  4. there is a file with content: C1 c2 c3 c4 r1 r2 r3 r4 put it into an hash array where keys = {c1,c2,c3,c4} and values = {r1,r2,r3,r4}

There are testcases running each testcase runs as a process and has a process ID. The logs are logged in a logfile process ID appended to each line. Prog to find out if the test case has passed or failed. The program shoud be running till the processes are running and display output.

© Stack Overflow or respective owner

Related posts about perl

Related posts about homework