I'm not sure where that error came from. Try changing the foreach loop to: foreach my $include (@INC) { print "INCLUDE: $include<br>\n"; } Steve.