![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
$type
refers to the MIME type as specified in the Content-Type header of mail or HTTP messages. Examples of types are:
image/gif text/html text/plain; charset=iso-8859-1
$mcap = new Mail::Cap; $mcap = new Mail::Cap "/mydir/mailcap";
Create and initialize a new Mail::Cap object. If you give it an argument it will try to parse the specified file. Without any arguments it will search for the mailcap file using the standard mailcap path, or the MAILCAPS environment variable if it is defined.
1
if a command was found, and
otherwise. You might test C<$?`` for the outcome of the command.
system()
in order to invoke a suitable progam presenting or
manipulating the media object in the specified file. It will return undef
if no suitable specification exists.
field()
method for the same fields.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
$CommentsMailTo = "perl5@dcs.ed.ac.uk"; include("../syssies_footer.inc");?>