Perl 5.30.0 failed at debug mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
perl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The system Perl (v5.30.0) failed at the debug mode when using Getopt::Long and OpenGL::Array. Here is a sample code showing the problem:
[Test file: t.pl]
#!/usr/bin/env perl
use Getopt::Long;
use OpenGL::Array;
print "hi\n";
[Test command]
$ perl -d t.pl
Loading DB routines from perl5db.pl version 1.55
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
Invalid version format (non-numeric data) at /usr/lib/
Compilation failed in require at t.pl line 3.
at t.pl line 3.
main::BEGIN() called at t.pl line 3
eval {...} called at t.pl line 3
BEGIN failed--compilation aborted at t.pl line 3.
at t.pl line 3.
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
The system Perl version:
$ perl -v
This is perl 5, version 30, subversion 0 (v5.30.0) built for x86_64-
(with 57 registered patches, see perl -V for more detail)
Copyright 1987-2019, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://
It seems like the code works well on Perl v5.36.0. Here is my system info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
tags: | added: perl |
tags: | removed: perl |