in reply to Parse one line of variables in multi-line tab delimited text file
Have you tried anything thus far mate?
Just read up on CGI for the web aspect to the problem, and do basic file processing like below for searching for the record.
use strict; use warnings; while (<DATA>) { chomp; my @vals = split "\t"; if ($vals[0] == 12345) { print "Bingo"; last; } } __DATA__ 12345 date name email 12346 date name email 12347 date name email 12348 date name email 12349 date name email 12350 date name email
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parse one line of variables in multi-line tab delimited text file
by jerryran (Initiate) on Mar 17, 2011 at 19:53 UTC | |
by jerryran (Initiate) on Mar 17, 2011 at 19:58 UTC | |
by toolic (Bishop) on Mar 17, 2011 at 20:05 UTC | |
|
Re^2: Parse one line of variables in multi-line tab delimited text file
by jerryran (Initiate) on Mar 17, 2011 at 19:44 UTC |