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.
In reply to Re: Can't locate IO/Scalar.pm in @INC (@INC contains: /opt/rocks/lib/perl5/5.8.8/
by oeuftete
in thread Can't locate IO/Scalar.pm in @INC (@INC contains: /opt/rocks/lib/perl5/5.8.8/
by donghe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |