diff options
-rw-r--r-- | lib/dumpvar.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dumpvar.pl b/lib/dumpvar.pl index 0268cea8bc..d02ebb9cce 100644 --- a/lib/dumpvar.pl +++ b/lib/dumpvar.pl @@ -377,6 +377,7 @@ sub dumpglob { unwrap(\@entry,3+$off,$m) ; print( (' ' x $off) . ")\n" ); } + if ($key eq '-') { eval { require re::Tie::Hash::NamedCapture } } if ($key ne "main::" && $key ne "DB::" && %entry && ($dumpPackages or $key !~ /::$/) && ($key !~ /^_</ or $dumpDBFiles) |