← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 1392271] [NEW] Crash after run: YAML::Tiny found a duplicate key

 

Public bug reported:

dexter@pepper:~$ padre
YAML::Tiny found a duplicate key 'chomp' in line '' at /usr/share/perl5/Padre/Document/Perl.pm line 321.
Perl exited with active threads:
	3 running and unjoined
	0 finished and unjoined
	0 running and detached

The patch:

diff -ru padre-1.00+dfsg.orig/share/languages/perl5/perl5.yml padre-1.00+dfsg/share/languages/perl5/perl5.yml
--- padre-1.00+dfsg.orig/share/languages/perl5/perl5.yml	2013-01-12 18:18:59.000000000 +0100
+++ padre-1.00+dfsg/share/languages/perl5/perl5.yml	2014-11-13 11:43:49.279327194 +0100
@@ -36,7 +36,7 @@
 chomp:
  cmd: (STRING)   or (ARRAY)
  exp: Remove the newline from the end of the STRING or from the end of every string in the ARRAY.
-chomp:
+chop:
  cmd: (STRING)
  exp: Remove last character from STRING. (Usually better to use chomp than chop.)
 chown:

** Affects: padre (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to padre in Ubuntu.
https://bugs.launchpad.net/bugs/1392271

Title:
  Crash after run: YAML::Tiny found a duplicate key

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


Follow ups

References