MIMEType 119

MIMEType 119
  • Downloads: 1731
  • Requirements:
  • Size: 0
  • Licence:
  • Version: 0
  • Added At: 2007-01-06
  • Publisher Site:



MIMEType 119

Share

MIME::Type is a definition of one MIME type.

SYNOPSIS

use MIME::Types;
my $mimetypes = MIME::Types->new;
my MIME::Type $plaintext = $mimetypes->type('text/plain');
print $plaintext->mediaType; # text
print $plaintext->subType; # plain

my @ext = $plaintext->extensions;
print "@ext" # txt asc c cc h hh cpp

print $plaintext->encoding # 8bit
if($plaintext->isBinary) # false
if($plaintext->isAscii) # true
if($plaintext->equals('text/plain') {...}
if($plaintext eq 'text/plain') # same

print MIME::Type->simplified('x-appl/x-zip') # 'appl/zip'

MIME types are used in MIME entities, for instance as part of e-mail and HTTP traffic. Sometimes real knowledge about a mime-type is need. Objects of MIME::Type store the
MIME::Type is a definition of one MIME type.

SYNOPSIS

use MIME::Types;
my $mimetypes = MIME::Types->new;
my MIME::Type $plaintext = $mimetypes->type('text/plain');
print $plaintext->mediaType; # text
print $plaintext->subType; # plain

my @ext = $plaintext->extensions;
print "@ext" # txt asc c cc h hh cpp

print $plaintext->encoding # 8bit
if($plaintext->isBinary) # false
if($plaintext->isAscii) # true
if($plaintext->equals('text/plain') {...}
if($plaintext eq 'text/plain') # same

print MIME::Type->simplified('x-appl/x-zip') # 'appl/zip'

MIME types are used in MIME entities, for instance as part of e-mail and HTTP traffic. Sometimes real knowledge about a mime-type is need. Objects of MIME::Type store the
�. you can free download MIMEType 119 now.
Soft85 only provide legal software, please help us keeping pur site legal, if you think this page is violating copyrights please let us know by clicking here Here






comments powered by Disqus

Download MIMEType 119 _FREE_