http://qs321.pair.com?node_id=1140502


in reply to Re: How do I select first string of a two dimensional array to compare to other values?
in thread How do I select first string of a two dimensional array to compare to other values?

hi james28909,
if split operator can take a regex, why not just:

use strict; use warnings; print split /,.+/, <DATA>; __DATA__ 123,456 234,567 345,456
Just a flash of thought! :)

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me