** Summary changed:
- $p->{"type"} tries to call a method named type
+ Wrong line number in error message
** Description changed:
- DB<1> s
- main::valid_answer(/home/nikratio/Projekte/Archiver/Archiver.pm:314):
- 314: if($p->{"type"} eq "string") {
- DB<1> x $p
- 0 HASH(0x892a01c)
- 'default' => 'never'
- 'emptyok' => 1
- 'query' => 'Expiration date'
- 'type' => 'timeoff'
- DB<2> x $p->{"type"}
- 0 'timeoff'
- DB<3> s
- main::(/home/nikratio/bin/aadd:94):
- 94: if($@) {
- DB<3> x $@
- 0 'Can\'t call method "type" on unblessed reference at
/home/nikratio/Projekte/Archiver/Archiver.pm line 314, <STDIN> line 10.
- '
- DB<4>
+ nokile:~/Work$ ./bug.pl
+ Can't call method "type" on unblessed reference at ./bug.pl line 18.
+
+ but the error is in line 27.
** Attachment added: "testcase"
http://librarian.launchpad.net/4136476/bug.pl
--
Wrong line number in error message
https://launchpad.net/bugs/57061
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs