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

I was running perl programs successfully on my machine till a few days back. But on Friday Due to some problems i formatted my macbook.After formatting when i am trying to run the programs i am getting the following error :

Can't locate Email/Send.pm in @INC (@INC contains: /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at test9.pl line 5. BEGIN failed--compilation aborted at test9.pl line 5.

When i am trying to install the modules I get the another Error, Which is

'YAML' not installed, will not store persistent state

After this a few tests fail and the Modules dont get installed.

Kindly Help. Thanx in advance

Replies are listed 'Best First'.
Re: Can't locate Email/Send.pm in @INC
by ikegami (Patriarch) on Mar 29, 2010 at 06:31 UTC

    Can't locate Email/Send.pm

    This shouldn't be a surprise since you said it didn't get installed due to test failures.

    When i am trying to install the modules I get the another Error, Which is "'YAML' not installed, will not store persistent state"

    Ignore this warning. cpan uses YAML if available, but it can live without it.

    After this a few tests fail and the Modules dont get installed

    These failures are not related to the YAML warning. These are the problems you should be investigating.

Re: Can't locate Email/Send.pm in @INC
by Utilitarian (Vicar) on Mar 29, 2010 at 08:23 UTC
    If I may make so bold as to expand on ikegami's reply above
    • Could you describe your installation method (cpan shell | manual |...)?
    • Could you post the test report when you try to install?

    print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."