Tag Archives: map array

Perl :: How to subtract any number from all elements of a numeric array

I have a numeric array like below : Now i want to subtract 10 discount from each elements of this array. So that the result become like : map function is my friend here. Using this function i can do … Continue reading

Posted in Perl | Tagged , , | Leave a comment