On Aug 3, 2006, at 9:38 AM, Larson, Timothy E. wrote:

Josh Stedman wrote:
 perl -MSlash::Test=slashusr -le 'print getObject("Slash::Blob")'
Error:main:-e:1:Can't locate MIME/Types.pm in @INC

**grumble**


cpan> install MIME::Types

perl -MSlash::Test=slashusr -le 'print getObject("Slash::Blob")'
Slash::Blob=HASH(0x806323c)

Huzzah!

And more importantly, it now works.  Thanks very much for the help. 
Why MIME::Types wasn't installed.... dunno, not going to concern
myself with such things.  I'll just enjoy the fact that it works now.


Well, it's not listed in the requirements for Slash itself.  Maybe it
just got overlooked.

Well, the thing of it is the installation of the Slash::Blob plugin isn't a requirement. So it's optional, hence it shouldn't necessarily be listed in the requirements for Slash itself.

From themes/slashcode/THEME

plugin=Admin
plugin=FAQ
plugin=Journal
plugin=Login
plugin=Hof
plugin=Messages
plugin=PollBooth
plugin=Print
plugin=PubKey
plugin=ResKey
plugin=Search
plugin=Submit
plugin=Stats
plugin=Zoo

I still think Mime::Types should be added to the Bundle::Slash, if it isn't already. Just to make things easier on everyone. But that's just my $.02.

 Shane



--
My slashcode stuff: http://slash.lottadot.com
Slashcode faq: http://slash.lottadot.com/slash-faq
How to ask a question: http://www.catb.org/~esr/faqs/smart-questions.html#before