Changeset 11430


Ignore:
Timestamp:
2006-03-21T10:41:40+12:00 (18 years ago)
Author:
mdewsnip
Message:

Fix for removing nasty carriage returns/line feeds from the end of lines -- very important for Windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ISISPlug.pm

    r11379 r11430  
    175175    # Process each line of the ISIS record, one at a time
    176176    foreach my $line (split(/\n/, $$textref)) {
     177    $line =~ s/(\s*)$//;  # Remove any nasty whitespace (very important for Windows)
    177178    $line =~ /^tag=(.*) data=(.+)$/;
    178179    my $tag = $1;
Note: See TracChangeset for help on using the changeset viewer.