in reply to including one .pl file in another

(You make it hard for us to help, by not taking the time to format your posts readably. Please read Writeup Formatting Tips)

Your web server runs under a different user than the one you use when you run programs from the command line. I would guess that the web server user doesn't have permission to read files from the directory that contains your library file. I'm pretty sure that there will be a message in your web server error log that confirms this.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg