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
Could someone write simple Perl programs for the following scenarios:
convert a list from {1,2,3,4,5,7,9,10,11,12,34} to {1-5,7,9-12,34}
to sort a list of negative numbers
to insert values to hash array
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