perl code help

if anyone knows how to do the loop and the function listed, please let me know it would be a great help. Thanks!

�Create an array NUM with the following ten values in it:
14, 25.6, 43, 22, 412.14, 819, 2, 721, 7.218, 11.9

�Print the array NUM

�Create an array COLOR with the following ten values in it:
blue, green, red, purple, brown, yellow, black, orange, maroon, gray

�Print the array COLOR

�Using a loop, create an array STRING where each element of the STRING array is the concatenation of the elements in the respective indexes of COLOR and NUM. (Example, STRING[0] would contain "blue14".

�Print array STRING

�Write a function that will determine whether the number given is <50, between 51 & 500, or >500, and return a string "Less than 50", "Between 50 and 500", or "Greater than 500" back

Sorry, circleW, homework and assignment problems are not permitted on these boards.

If you have not already done so, please familiarise yourself with the rules .

Please at least attempt to write some code yourself before posting requesting answers.

This thread will be locked.

Cheers
ZB