hashes are not guaranteed to stay in the order they were defined. Use
Tie::IxHash to make %FILTERS an ordered hash.
README:
Note that Tie::IxHash is now required.
minc:
use Tie::IxHash;
(%FILTERS): Make this an ordered hash with Tie::IxHash.
minc requires the following non-standard Perl modules and headers:
Log::Dispatch
minc requires the following non-standard Perl modules and headers:
Log::Dispatch
sysexits.ph
Log::Dispatch is available on CPAN. You will almost certainly have to
sysexits.ph
Log::Dispatch is available on CPAN. You will almost certainly have to
use Log::Dispatch;
use Log::Dispatch::File;
use POSIX qw(strftime WEXITSTATUS WIFEXITED);
use Log::Dispatch;
use Log::Dispatch::File;
use POSIX qw(strftime WEXITSTATUS WIFEXITED);
+tie(%FILTERS, 'Tie::IxHash');
require "$HOME/.mincfilter";
if (-f "$HOME/.mincspam") {
require "$HOME/.mincfilter";
if (-f "$HOME/.mincspam") {