What's an efficient way of splitting the elements of an array globally?  For
instance, let say an array consists of the following two elements:

Bob:Jones
Mary:Parker

Let's say I'd like to cut each element of the array down to the string
preceding the ":" colon.  I can do this with a foreach loop, putting the
first portion in a temporary variable using split and then reconstruct the
array at the end.  But, is there a better way?

Thanks,
Dan.



_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to