Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

jens's scratchpad

by jens (Pilgrim)
on Jun 13, 2004 at 14:13 UTC ( #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?

What's my password?
Create A New User
[erix]: surely such a handshake is enough to impeach the idiot :)
[erix]: one can only hope the Pope will administer the same humiliation
Discipulus the pope is the last good politic here around..sigh

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2017-05-24 07:03 GMT
Find Nodes?
    Voting Booth?