:Hi! On Wed, Jul 16, 2003 at 10:46:27PM +0100, Ged Haywood wrote: > Hi there, > > On Wed, 16 Jul 2003, Matthew Wu wrote: > > > I put all my subroutine in file.pm, what I need to do such that it > > can be used by my program? I don't what location I need to put it in and > > what kind of configuration I need to modify. I am running Redhat 6.3. > > At the risk of repetition... :)
Ha! :-) > This is a mailing List specifically for mod_perl issues. > Are you using mod_perl? If you're using mod_perl, you might find this helpful: http://perl.apache.org/docs/general/perl_reference/perl_reference.html#use____require____do_____INC_and__INC_Explained and http://perl.apache.org/docs/1.0/guide/config.html#The_Startup_File especially: use lib qw(/path/to/module); But, as Ged allready mentioned, please RTFM! The mod_perl docs are really great, so please DO read them. http://perl.apache.org -- #!/usr/bin/perl http://domm.zsi.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}