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

Scalar.pm is located in the '/opt/rocks/lib/perl5/5.8.8/IO/' directory and this directory is in the array @INC.

Is /opt/rocks/lib/perl5/5.8.8/ in @INC or just /opt/rocks/lib/perl5/5.8.8/IO/? It should be the former.

(I think it was just a language error, but no harm in making sure.)