[Bug 1358930] Re: Text::Wrap dies on '=.'

German de la Cruz gerdlc at gmail.com
Thu Oct 30 19:12:33 UTC 2014


Changing Wrap.pm with the link you provided solves the problem

** Also affects: flexbackup (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to perl in Ubuntu.
https://bugs.launchpad.net/bugs/1358930

Title:
  Text::Wrap dies on '=.'

Status in “flexbackup” package in Ubuntu:
  New
Status in “perl” package in Ubuntu:
  Confirmed

Bug description:
  Here's a brief test case:
  #!/usr/bin/perl
  require Text::Wrap;
  $Text::Wrap::columns = 2;
  print "$Text::Wrap::VERSION $Text::Wrap::SUBVERSION\n";
  print Text::Wrap::wrap('', '', '=.');

  When I run on Trusty, I get:
  $ ./wrapper.pl
  2012.0818 modern
  This shouldn't happen at /usr/share/perl/5.18/Text/Wrap.pm line 84.

  FWIW, when I ran the same test program with the latest version of Wrap.pm from <http://api.metacpan.org/source/MUIR/Text-Tabs+Wrap-2013.0523/lib.modern/Text/Wrap.pm>, it worked a little better:
  $ ./wrapper.pl
  2013.0523 modern
  =
  .

  I have a sneaking suspicion that the 2013/04/26 version (see
  https://metacpan.org/changes/distribution/Text-Tabs+Wrap) fixes this,
  though I haven't verified that.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flexbackup/+bug/1358930/+subscriptions



More information about the foundations-bugs mailing list