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

A previous post suggested I use a Bit Vector module. I'd like to learn more about it. Does it come std with perl, or is it a CPAN add-on I have to complie, etc., or maybe something in between? I'm using ActiveState perl 5.8.8 build 820, & have never complied perl or any perl module. I remember going past it somewhere on the web, but now I can't seem to find it. I also don't see it in the many manpages. I'm enjoying this perl very much, but I'm afraid I'd be way too lost without this monastery. Many Thanks.

Replies are listed 'Best First'.
Re: Bit Fiddling
by FunkyMonk (Bishop) on Jun 08, 2007 at 15:39 UTC
    Bit::Vector is not included with standard Perl, but you can read all about it here. It seems to be available from Activestate (but I don't do ActivePerl, so I can't say for sure). You should be able to install it using the Activestate package manager that's somewhere on the Start menu.
Re: Bit Fiddling
by GrandFather (Saint) on Jun 08, 2007 at 19:08 UTC

    As FunkyMonk suggests Bit::Vector is available using ppm (Perl Package Manager). Assuming you are using the GUI version of ppm (version 4.0), type bit into the search line at the top of the ppm window, click on Bit-Vector, click the yellow box with a + in a green circle in it next to the search line, click the green arrow, click ok in the dialog that comes up and let the magic take place.


    DWIM is Perl's answer to Gödel
      There's a GUI version of perl? Sorry, I'm using Visual SlickEdit and the command window to execute. So far, I've not managed anything, let alone a Package. How would I download/install a package manager, & should I be concerned about WHICH one to use: Free is good, but function counts for a lot too. My "older perl" quit working when I upgraded my laptop, hence the new download of the ASperl. I'm using XP, but I don't think Linux is far off. Thanks.
        There's a GUI version of perl?
        Well, if you what you mean is Perl IDE....

        Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

        No. There is a GUI version of ppm. If you have a standard install of ActiveState Perl then run C:\Perl\bin\ppm.bat to install pre-packaged modules as described above.


        DWIM is Perl's answer to Gödel