kanwisch has asked for the wisdom of the Perl Monks concerning the following question:

I've put in a module on our development server that does RC5 encryption in a "special" (not shortbus kind) of manner. When I run a script using this, I get out the expected cyphertext given the input string.

However, when I put a "use DBI;" at the top of my program, BANG!, I get an "END failed--call queue aborted". Now, the module I installed doesn't use BEGIN or END anywhere in it, yet the error only occurs when I call a function from the RC5 module. Any thoughts on where I should post, and with what to get a little push in the solution direction?

I've put in a workaround, for now, that sends the cypher text over http, but would rather not do that using the two scripts.

Replies are listed 'Best First'.
Re: DBI conflict with homegrown module
by strat (Canon) on Dec 13, 2001 at 15:46 UTC
    From your module, do you do Namespace pollution by exporting variables or subs/methods into your main-Namespace? If yes, is the problem still existing if you don't do that and call the functions by package::myfunction.

    If your module doesn't use an own package, consider using an own.

    I can't tell you more by now without having seen the code...

    Best regards,
    perl -e "print a|r,p|d=>b|p=>chr 3**2 .7=>t and t"