Ignore:
Timestamp:
2004-06-02T13:39:05+12:00 (20 years ago)
Author:
kjdon
Message:

wrap the lines of the record at 80 columns

File:
1 edited

Legend:

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

    r7353 r7533  
    6666#use MARC::Record; 
    6767#use MARC::Batch;
    68 
     68use Text::Wrap;
    6969
    7070sub new {
     
    250250    if $self->{'verbosity'} > 2;
    251251
     252    # line wrapping
     253    $Text::Wrap::columns = 80;
     254    $$textref = wrap("", "", $$textref);
     255
    252256    $$textref = "<pre>\n" . $$textref . "</pre>\n"; # HTML formatting...
    253257
Note: See TracChangeset for help on using the changeset viewer.