diff options
author | Salvador Fandino <sfandino@yahoo.com> | 2011-06-11 12:20:56 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-06-11 13:19:25 -0700 |
commit | e56c1e8df64af1aeccf399e2ac6fb3ac25abbc55 (patch) | |
tree | 1217cd794288e6212f6544db589403bcd6e1876c /lib/perl5db.pl | |
parent | 4436972887b888cbbfa91665a760f2b730ba3f27 (diff) | |
download | perl-e56c1e8df64af1aeccf399e2ac6fb3ac25abbc55.tar.gz |
allow features inside interactive debugger
Diffstat (limited to 'lib/perl5db.pl')
-rw-r--r-- | lib/perl5db.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/perl5db.pl b/lib/perl5db.pl index 77a5f356d2..fcc111e182 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.34'; |