|
From: shane <sh...@lo...> - 2006-02-27 23:06:14
|
Don't forget - if you update/upgrade your slash installation, you =20 will overwrite your changes to MySQL.pm. Generally, you have your src cvs-checkout/tarball/zip of the slash =20 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 =20= changes, diff the file, and save that diff off somewhere for safe =20 keeping. If you upgrade slashcode on your machine, you maybe apply to =20= apply your patch to the slash sourcecode at that point, giving you =20 the alternative behavior you mod'd for. Since slashcode uses mod_perl, like Blake said, if you modify a perl =20 module, you'll have to restart httpd and slashd before you would see =20 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 =20 > 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" =20 > <roy...@gm...> > To: <sla...@li...> > 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/=20 > 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 =20 > language > that extends applications into web and mobile media. Attend the =20 > live webcast > and join the prime developer group breaking into this new coding =20 > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > https://lists.sourceforge.net/lists/listinfo/slashcode-general > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting =20 > language > that extends applications into web and mobile media. Attend the =20 > live webcast > and join the prime developer group breaking into this new coding =20 > territory! > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D121642 > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > https://lists.sourceforge.net/lists/listinfo/slashcode-general -- My slashcode stuff: http://slash.lottadot.com/ Slashcode faq: http://slash.lottadot.com/slash-faq |