Don't forget - if you update/upgrade your slash installation, you will overwrite your changes to MySQL.pm.

Generally, you have your src cvs-checkout/tarball/zip of the slash src. Let's say that's in /usr/local/src/slash.

When you install slashcode, you 

cd /usr/local/src/slash
make
make install

So what you'll want to do is modify the src. Generally, you make your changes, diff the file, and save that diff off somewhere for safe keeping. If you upgrade slashcode on your machine, you maybe apply to apply your patch to the slash sourcecode at that point, giving you the alternative behavior you mod'd for.

Since slashcode uses mod_perl, like Blake said, if you modify a perl module, you'll have to restart httpd and slashd before you would see the change.

 Shane

On Feb 25, 2006, at 8:36 AM, Blake Carver wrote:

When you make changes you just need to restart apache, and restart the slashd, which is probably /etc/init.d/slash


--------------
Blake Carver
LISNews.org
Librarian & Information Science News
http://www.lisnews.org

----- Original Message ----- From: "Roy Kimbrell" <roy.kimbrell@gmail.com>
To: <slashcode-general@lists.sourceforge.net>
Sent: Wednesday, February 22, 2006 6:04 PM
Subject: [Slashcode-general] Reloading Modules?


I'm trying to make a fairly simple change to the Authors page - it
inovlves making a change to the SQL that retrieves the author
information from the database in sub getAuthorDescription.  I found
this in /usr/lib/perl5/site_perl/5.8.7/i586-linux-thread-multi/Slash/DB/
in MySQL.pm.  (I can find another MySQL.pm, but it doesn't contain
getAuthorDescription.)

However, making a change to this seems to have no effect.  I'm not a
Perl programmer, so I'm probably asking a pretty basic question.  What
do i do to "reload" the module?

Thanks,
Roy


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
_______________________________________________
Slashcode-general mailing list
Slashcode-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/slashcode-general



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Slashcode-general mailing list
Slashcode-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/slashcode-general



--

My slashcode stuff: http://slash.lottadot.com/ 

Slashcode faq: http://slash.lottadot.com/slash-faq