New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH] allow features inside interactive debugger #11222
Comments
From @salvaCreated by @salvaPerl expressions using post-5.8 features are not allowed inside the interactive The attached patch enables all the features available in the running perl. Perl Info
|
From @salvaperl5db.pl-0.patchdiff --git a/lib/perl5db.pl b/lib/perl5db.pl
index ea0d049..a7ef45d 100644
--- a/lib/perl5db.pl
+++ b/lib/perl5db.pl
@@ -512,6 +512,12 @@ package DB;
BEGIN {eval 'use IO::Handle'}; # Needed for flush only? breaks under miniperl
+BEGIN {
+ require feature;
+ $^V =~ /^v(\d+\.\d+)/;
+ feature->import(":$1");
+}
+
# Debugger for Perl 5.00x; perl5db.pl patch level:
$VERSION = '1.33';
|
From @cpansproutOn Thu Mar 31 06:59:35 2011, salva wrote:
Thank you. Applied as e56c1e8. |
The RT System itself - Status changed from 'new' to 'open' |
@cpansprout - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#87412 (status was 'resolved')
Searchable as RT87412$
The text was updated successfully, but these errors were encountered: