
mors
New User
Jun 21, 2011, 2:00 AM
Post #1 of 1
(328 views)
|
|
MIME::Types invalid works under mod_perl
|
Can't Post
|
|
Hi! I have simple test script:
... use MIME::Types; print "Content-type: text/html\n\n"; print "Hi!\n"; print MIME::Types::by_suffix('jpg')->[0]; print "\n"; exit(0); This code prints "HI! image/jpeg" when running in console. And prints only "HI!" when get in browser under mod_perl. Why MIME::Types incorrect works?
|