> In fact, "foreach" is just a short hand for those times when > you only need the contents of the list or to perform an > operation "for each item", but have no need for the index or > the list itself.
Not sure what you're implying here, but the fact is: there is NO DIFFERENCE between 'foreach' and 'for' in perl. You can use the keywords interchangeably. DWIM rules! If somebody can prove me wrong, I look forward to seeing it. - - Martin _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
