polka4ever
Technical User
hello! I have a story problem for you. I have a tab-delimited file. The 2nd field is the "state" field, and I want to pull out of this file, and write to a NEW file, only the rows that have Wisconsin as their state. 'WI' I believe I need to use "split" but not sure how. This is how far I've gotten. I'm horrible at Perl.
#!/usr/bin/perl
open (FILE, "<lotsofstates.data");
while (<FILE>) {
#!/usr/bin/perl
open (FILE, "<lotsofstates.data");
while (<FILE>) {