3 ideas :
your webserver is typically under a different user id ("nobody"), and may (will) have different permissions to that particular directory.
I think that the path in use lib needs to be quoted : use lib '/home/benjamin', but I could be wrong.
also, you may be interested to see if your command line and web server are looking at the same perl : which perl may reveal discrepancies.
and, uh, use strict. and diagnostics... *cough* | [reply] [d/l] [select] |
My first guess is that the web server which runs as a user other than you cannot read the directory or file in question (or maybe some directory higher in the path)
You can move the module to where the web server can see it (probablythe safest) or set up a directory where the web server can read in your area.
| [reply] |