Hi all, I am putting the finishing touches on my Acme::Inline::Brainfuck module, which allows you call Brainfuck (an 8 instruction turing complete language - and you thought Perl was obfuscated!) programs from Perl code.
However, the standard Inline module does not allow you to call modules in the Acme::Inline namespace, but requires modules be in the Inline namespace. I note that this problem has been solved in Acme::Inline::PERL by naming the module Acme::Inline::PERL, but installing it in Inline::PERL through some Makefile trickery. I found this solution somewhat inelegant, so I have quickly hacked up an Acme::Inline module, which essentially does: package Acme::Inline; BEGIN { push @INC, map "$_/Acme", @INC; } sub import { use Inline @_; } 1; And then I can use Acme::Inline::Brainfuck like you'd expect, viz: use Acme::Inline Brainfuck ... So I'm seeking feedback on whether this is a good approach or not before I submit my two modules. -- Dean Povey, |em: [EMAIL PROTECTED]|JCSI: Java security toolkit Wedgetail Communications|ph: +61 7 3023 5139 |uPKI: Embedded/C PKI toolkit Level 14, 388 Queen St, |fax: +61 7 3023 5199 |uSSL: Embedded/C SSL toolkit Brisbane, Australia |www: www.wedgetail.com |XML Security: XML Signatures