Skip Menu |
 

This queue is for tickets about the B-Deobfuscate CPAN distribution.

Report information
The Basics
Id: 33661
Status: new
Priority: 0/
Queue: B-Deobfuscate

People
Owner: Nobody in particular
Requestors: ifomichev [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.20
Fixed in: (no value)



Subject: -d option does not work
Download (untitled) / with headers
text/plain 662b
Dictionary file's contents is read in an arrayref, not in a plain scalar. It results in "The symbol dictionary is empty!" error when trying to use external dictionary file with -d option. Here is a patch. --- /usr/lib/perl5/site_perl/5.8.8/B/Deobfuscate.pm.bak 2008-02-28 15:33:21.000000000 +0300 +++ /usr/lib/perl5/site_perl/5.8.8/B/Deobfuscate.pm 2008-02-28 15:33:43.000000000 +0300 @@ -64,7 +64,7 @@ open my $fh, '<', $dict_file or confess "Cannot open dictionary $dict_file: $!"; local $/; ## no critic - $dict_data = [<$fh>]; + $dict_data = join '', <$fh>; } else { LOAD_DICTIONARY_MODULE:


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.