Hi,
I have map co-ordinates GDF data like the below:
{123, 2, 244}, {233, 0, 432}, {0, 233, 24}, {353, 21, 0}, {22, 756, 92}, {281, 0, 211}, {211, 645, 22}, {310, 23, 0}
I need to use perl script to store these values into an array and delete from the array whose indices having value 0 anywhere
So, finally I need to get the result as:
{123, 2, 244}, {22, 756, 92}, {211, 645, 22}
I am a newbie to Perl. How to store array of arrays in Perl?
I have come across that to erase an array element we can use splice and delete and for pattern matching, we can use "=~" operator. Please help me in writing this script.