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

Hey Monks,
Happy 4th. Anyway, Im writing a script that uses the MegaHAL module, but I can find any docs on it, the cpan docs link gives a 404 error. I was wondering if any of you monks have any infor/docs on this module.

thanks

^jasper <jasper@wintermarket.org>

Replies are listed 'Best First'.
Re: MegaHAL
by vladb (Vicar) on Jul 04, 2002 at 17:06 UTC
    This should be it: MegaHAL

    There's ample documentation on that sourceforge.net site to hopefully satisfy your thirst..

    ;-)

    _____________________
    # Under Construction
      thanks

      here is my code:
      my $hal = new MegaHAL('Path' => './', 'Banner' => 0, 'Prompt' => 0, 'Wrap' => 0, 'AutoSave' => 1);

      and it produces this errors:
      %perl fenrir.pl /usr/libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.005/i386-fr +eebsd/auto/MegaHAL/MegaHAL.so: Undefined symbol "megahal_setnobanner"

      im lost..
      ^jasper <jasper@wintermarket.org>
        Jasper,

        I believe your library installation is not adequate or in other words is of a version that doesn't contain pieces that your existing version of MegaHAL expects it to have.

        My suggestion would be for you to install newer version of the underlying libraries that MegaHAL depends on. Unfortunately, I haven't played with the module myself (in fact, this is the first time I heard about it :) and therefore can't render a precise solution. Yet, I did encounter similar 'error messages' with other modules that I had used before.

        Hope my $0.02 is worth a dime ;-)

        _____________________
        # Under Construction
Re: MegaHAL
by Jaspersan (Beadle) on Jul 05, 2002 at 04:49 UTC
    i still dont know which libraries i have to update.
    this module has been nothing but problems :P

    ^jasper <jasper@wintermarket.org>