in reply to Re: creating a class with encapsulation ?
in thread creating a class with encapsulation ?
#!/usr/bin/perl use strict; use warnings; my $in = ("/home/ki/Downloads/currenthumanccds.txt"); my $out = ("/home/ki/output.txt"); open (IN,"/home/ki/Downloads/CCDS.current.txt") or die "Cant open file +: $!"; open (OUT,">/home/ki/output.txt") or die "Cant open file: $!"; while(<IN>){ chomp; my@fields = (split/\t/); if ($fields[0] =~ m/16/ && $fields[6] eq"-" && $fields[5] =~ m/Pub +lic/){; print OUT "$fields[0] $fields[2] $fields[6] $fields[5 +]\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: creating a class with encapsulation ?
by Athanasius (Archbishop) on Apr 27, 2016 at 04:41 UTC | |
by Anonymous Monk on Apr 29, 2016 at 01:27 UTC | |
by Athanasius (Archbishop) on Apr 29, 2016 at 02:43 UTC | |
by Anonymous Monk on Apr 29, 2016 at 01:38 UTC |