Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Email::MIME::CreateHTMUsereContributedIPerlCDocueHTML::Resolver::Filesystem(3)

NAME
       Email::MIME::CreateHTML::Resolver::Filesystem - finds resources via the
       filesystem

SYNOPSIS
	       my $o = new Email::MIME::CreateHTML::Resolver::Filesystem(\%args)
	       my ($content,$filename,$mimetype,$xfer_encoding)	= $o->get_resource($uri)

DESCRIPTION
       This is used by Email::MIME::CreateHTML to load resources.

METHODS
       $o = new	Email::MIME::CreateHTML::Resolver::Filesystem(\%args)
	   %args can contain:

	   base
	       Base directory used to resolve relative filepaths passed	to
	       get_resource.

       ($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)

TODO
	- Currently the	MIME type is deduced from the file extension via MIME::Types; given we have the	content	available, more	sophisticated strategies are probably possible

AUTHOR
       Tony Hennessy, Simon Flack and John Alden with additional contributions
       by Ricardo Signes <rjbs@cpan.org> and Henry Van Styn <vanstyn@cpan.org>

COPYRIGHT
       (c) BBC 2005,2006. This program is free software; you can redistribute
       it and/or modify	it under the GNU GPL.

       See the file COPYING in this distribution, or
       http://www.gnu.org/licenses/gpl.txt

perl v5.24.1		      Email::MIME::CreateHTML::Resolver::Filesystem(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | TODO | AUTHOR | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Email::MIME::CreateHTML::Resolver::Filesystem&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help