DJpennywhistle
Programmer
I want to make an array every time I have a list of data separated by commas. So I use,<br><br> if($value2=~/,/)<br> {<br> $number_of_arrays++;<br> <br> @array = split(/,/, $value2); <br> }<br><br><br>The thing is this could happen a few times in my bigger loop so I was trying to name the @array using the $number_of_arrays. Something like <br><br> @array_\$number_of_arrays = split(/,/, $value2);<br><br>But perl doesn't seem to like this - any ideas?<br><br>Thanks<br><br> <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>