http://qs1969.pair.com?node_id=136217


in reply to @INC: modules is there but not located

We're forced to guess, so my guess is that you have two versions of perl on your system, and that the shebang in your monkchat script is calling for 'the other one'.

If which perl returns '/usr/bin/perl', but the shebang points to '/usr/local/bin/perl' (and if these are not the same file, symlinked), then change the shebang to say #!/usr/bin/perl and the problem might go away.
Good luck,
mkmcconn