in reply to Re: Re: Re: Re: Parsing email files, what are the best modules ?
in thread Parsing email files, what are the best modules ?

Looks like you have some maintenance to do. You need to download and install the Scalar::Util module from CPAN, probably other things you think is useful too. Can't perl without them. 8^p

By the way, the perl version I use is Active Perl 5.8.1.

  • Comment on Re: Re: Re: Re: Re: Parsing email files, what are the best modules ?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Parsing email files, what are the best modules ?
by peterr (Scribe) on Nov 11, 2003 at 10:19 UTC
    Hi Roger,

    You need to download and install the Scalar::Util module from CPAN, probably other things you think is useful too.

    Okay, I assume I can just "install" by running Perl as a shell, then install the modules I need, like this.

    D:\Perl\myscripts>\perl\bin\perl.exe -MCPAN -e "shell"

    By the way, the perl version I use is Active Perl 5.8.1.

    I could only find ActivePerl 5.8.0 build 806 , from http://www.activestate.com/Products/Download/Download.plex?id=ActivePerl

    Thanks,

    Peter

      Okay, I assume I can just "install" by running Perl as a shell, then install the modules I need, like this...
      That doesn't run perl as a shell (no such thing). That won't always work, so you should read A Guide to Installing modules.
        Hi,

        That doesn't run perl as a shell (no such thing).

        It's obvious I meant a 'cpan' shell (me being a newbie, and you being an "expert")

        That won't always work

        Why won't it always work ?

        .. so you should read A Guide to Installing modules

        Which is the same node as suggested before. I have read it, digested it, and tried most of the methods to fix this. I guess I need to read it again (sigh)

        Peter

Re: Re: Re: Re: Re: Re: Parsing email files, what are the best modules ?
by peterr (Scribe) on Nov 12, 2003 at 01:46 UTC
    Roger,

    By the way, the perl version I use is Active Perl 5.8.1

    Can you please tell me where to get version 5.8.1, I can only get ActivePerl 5.8.0 build 806

    I think I may have screwed up some of the Perl modules, because I used PPM, the shell version of CPAN, and even d/loading Mail::Box from the website, uncompressing it, and then doing the 'makefile', etc. To me, it's confusing to know what I _should_ use to install any missing modules. Also, I don't have a C compiler installed, that could be complicating things. :(

    Anyway, I'm going to un-install everything, then install "ActivePerl 5.8.0 build 806", then try and run the sample script you supplied, and then take it slowly, step by step, fixing up any 'errors' (missing modules,etc).

    Thanks for your help,

    Peter