Chip Salzenberg on Thu, 14 Aug 2003 14:16:40 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: "How did I live without this?"


According to Michael C. Toren:
> 	    print @f[eval $field], "\n";

Shirley, one eval per line is a bit much.  How about:

	@n = eval $field

outside the loop, then

	print @f[@n], "\n"

inside it?
-- 
Chip Salzenberg               - a.k.a. -               <chip@pobox.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K
-
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**