in reply to Splitting arrays

Please see Markup in the Monastery for help on markup; as far as I can tell from your description, your array actually looks like this:

my @values = do { no warnings 'qw'; qw/ -0.709999984318709,60.690000003554324 -1.409999984834652,60.710000003710384 -1.389999984788378,60.970000003922536 -0.679999984264137,60.950000003761929 -0.709999984318709,60.690000003554324 / };

Right? As always, posting your actual code immensely helps us help you. Assuming I'm right, let me point you to two bits of documentation that should render the solution rather trivial: split and push. In general, you would create two arrays, say, @latitude and @longitude, and for each entry in @values, split it on the comma, and push the resulting values to their respective arrays. foreach will be of additional help if you are not yet familiar with Perl looping constructs.

Edit: Threw in no warnings 'qw'; in artificial scope to squelch "Possible attempt to separate words with commas" when running with warnings, as you should do.