/[webpac2]/trunk/lib/WebPAC/Input/TSV.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/WebPAC/Input/TSV.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1348 by dpavlin, Sat Oct 16 17:51:00 2010 UTC revision 1349 by dpavlin, Sat Oct 16 18:25:59 2010 UTC
# Line 50  sub new { Line 50  sub new {
50    
51                  my $col = 'A';                  my $col = 'A';
52                  foreach my $v ( split(/\t/,$line) ) {                  foreach my $v ( split(/\t/,$line) ) {
53                          next if $v eq '\N';                          $rec->{ $col } = Encode::decode_utf8( $v ) if $v ne '\N';
54                          $rec->{ $col++ } = Encode::decode_utf8( $v );                          $col++;
55                  }                  }
56    
57                  push @{ $self->{_rec} }, $rec;                  push @{ $self->{_rec} }, $rec;

Legend:
Removed from v.1348  
changed lines
  Added in v.1349

  ViewVC Help
Powered by ViewVC 1.1.26