in reply to Can't locate IO/Scalar.pm in @INC (@INC contains: /opt/rocks/lib/perl5/5.8.8/

Probably not your problem, but you're not trying to require it without using a bareword, as described in require? I mention this possibility only because it bit me just minutes ago.

Edit: That can't be it, or else you'd be seeing can't locate IO::Scalar (without the .pm). So consider this an off-topic Public Service Announcement.

  • Comment on Re: Can't locate IO/Scalar.pm in @INC (@INC contains: /opt/rocks/lib/perl5/5.8.8/

Replies are listed 'Best First'.
Re^2: Can't locate IO/Scalar.pm in @INC (@INC contains: /opt/rocks/lib/perl5/5.8.8/
by ikegami (Patriarch) on Apr 24, 2009 at 02:11 UTC

    If he did, it would say

    Can't locate IO::Scalar in @INC

    but it says

    Can't locate IO/Scalar.pm in @INC

    so he did that right.