Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

jens's scratchpad

by jens (Pilgrim)
on Jun 13, 2004 at 14:13 UTC ( [id://363837]=scratchpad: print w/replies, xml ) Need Help??

#!/usr/bin/perl use warnings; use strict; open PATIENTS, "PATIENT_TABLE_UPLOAD.csv" or die "problem opening PATIENTS file\n"; my @ACFUnumbers; my @duplicateACFUS; while (<PATIENTS>) { my @fields = split /,/; my $ACFU = $fields[1]; push @ACFUnumbers, $ACFU; } #end while foreach my $outerACFU (@ACFUnumbers) { $outerACFU = shift; foreach my $innerACFU (@ACFUnumbers) { unless (!defined($innerACFU) or ($innerACFU =~ /^\s$/)) { if (defined ($outerACFU) and defined($innerACFU)) { push @duplicateACFUS, $outerACFU if ($outerACFU eq $innerACFU); } #end if } #end unless } #end inner foreach } #end foreach print "$_\n" foreach @duplicateACFUS;
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-04-19 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found