RE: building module/package

2003-09-30 Thread Hanson, Rob
eptember 30, 2003 3:12 PM To: Hanson, Rob Cc: 'Perl Newbies'; [EMAIL PROTECTED] Subject: RE: building module/package my redhat 9 is configured canned w/apache and mod_perl. The only configuration I know is in /etc/httpd/conf.d/perl: Alias /mp /var/www/mp SetHandler perl-script

RE: building module/package

2003-09-30 Thread perl
d I would also recommend that the libraries not be put in any > directory > accessable to the web server (unless you have no choice). > > Rob > > > -Original Message- > From: Daniel Staal [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 30, 2003 2:39 PM >

Re: building module/package

2003-09-30 Thread perl
Thanks for your help. I had tried the use lib "path/to/module"; and use module; but it is still complaining about the use module part. However, I took the easy route but may annoy structured folks, like perl is very structured. I put it in /usr/lib/perl5/5.8.0 It works! Yippee! Perl programming i

RE: building module/package

2003-09-30 Thread Hanson, Rob
less you have no choice). Rob -Original Message- From: Daniel Staal [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 2:39 PM To: [EMAIL PROTECTED]; Perl Newbies Subject: Re: building module/package --On Monday, September 29, 2003 23:53 -0700 "[EMAIL PROTECTED]" <[EMAIL P

Re: building module/package

2003-09-30 Thread Daniel Staal
--On Monday, September 29, 2003 23:53 -0700 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: -I've sent this to the mod_perl list but there seems to be no response. I got the module working in the current directory executing on the command line. But I have a problem calling a module in my mod_per

Re: building module/package

2003-09-29 Thread perl
Daniel: -I've sent this to the mod_perl list but there seems to be no response. I got the module working in the current directory executing on the command line. But I have a problem calling a module in my mod_perl dir using apache on redhat 9. I have a mystuff.pm in the same directory as the call

Re: building module/package

2003-09-29 Thread Daniel Staal
--On Monday, September 29, 2003 19:04 -0700 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: test.pl --- use mystuff; print mystuff::trim($username); mystuff.pm -- # do i need any declaration line here # is sub here or what? # and where do i put this pm file? sub trim { my $z = $_[0]