Ralph H. Stoos Jr. wrote: Perl is a name, not an acronym. Write Perl or perl, but never PERL (unless you are yelling).
: OK, so here is the task. The first row I want to turn into : variable names. Machine, PurgeSuccess, etc. You probably don't want to do that. You may end up needing symbolic references to access those variables. Using symbolic references is frowned on. Another approach might use a hash which has keys that match the column names. The values associated with those keys would reference arrays of values from all the records. : Then with that removed the real work happens. The script would : then request which variables I would like to sort on or find : records (rows) that contain the "matches" specified. Are you going to rewrite the script for each different record search? How often will different searches be needed? Who decides the need for new searches (you, the boss, other programmers, users, etc.)? HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 Don't tread on my bandwidth. Trim your posts. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>