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

I just found out about Conan the Librarian but don't
have a Mac to use it on. Could I emulate something like
this with Perl on Windows?

Thanks

Trag

Replies are listed 'Best First'.
Re: Conan the librarian
by dragonchild (Archbishop) on Mar 30, 2004 at 20:24 UTC
    Sure! All you need to do is following these simple steps:
    1. Install Perl on your system
    2. Figure out how to have Perl run as a TSR
    3. Figure out how to have Perl monitor your microphone
    4. Figure out how to have Perl determine how loud is too loud
    5. Figure out how to have Perl say something to your speakers
    6. Debug the hell out of it (It is Windows ...)
    7. Release it to CPAN under the name Acme::ConanTheLibrarian
    No problem! I'll expect to see the module by Friday, ok?

    ------
    We are the carpenters and bricklayers of the Information Age.

    Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

      lol TSR, I have not used that term in years.. =)

      getIntVec(9, @oldInt); setIntVec(9, @newInt); keep(0);


      -Waswas
      Hmm, first things first, Thanks for the outline.
      Now to find out how to run perl as a TSR

      Any ideas on how to do this?

      Thanks

      Trag
        I have absolutely no clue. :-) But, I bet if you wander around the Win32:: namespace on CPAN, you'll find a few clues. Also, I suggest googling around a bit.

        If you're implementing this on Windows, Perl may not be the best solution. I'd take a look at JScript, VB, and/or WinScript for alternative languages that might have better API support. You might have to dip in C/C++ and/or Java for some of the hardware stuff.

        ------
        We are the carpenters and bricklayers of the Information Age.

        Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose