App-Open
view release on metacpan or search on metacpan
lib/App/Open/Backend/MailCap.pm view on Meta::CPAN
=item load_definitions
Load the mailcap definitions and construct Mail::Cap and Mime::Types objects.
This method is called from the constructor; there is no reason to call it
directly.
This method will generate defaults for the `take` argument depending on what is
supplied to the constructor. Basically, if you omit both arguments it will
swallow all mailcap files, if you provide a take argument it will use that. If
you provide a filename it will just use that, and if you supply `ALL` as the
take method and a filename, it will search that file first, then cascade to the
rest of the files on the system.
It could be better.
=cut
sub load_definitions {
my $self = shift;
my %mailcap_args;
( run in 0.492 second using v1.01-cache-2.11-cpan-49f99fa48dc )