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:
Just a flash of thought! :)use strict; use warnings; print split /,.+/, <DATA>; __DATA__ 123,456 234,567 345,456
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
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
In Section
Seekers of Perl Wisdom