Did you post this question in the topic for the particular mod over on BoardMod??

Thanks for the reply Captain John.No I didnt as its a mod for a different version of YaBB and someone will just tell me its unsuported which is why I'm trying to understand whats going on.

The mod is Carsten's rating mod for v2.4 and I'm installing it in v2.5.I know someone else that got it going in v2.5 and I'm close but have an error somewhere that I want to troubleshoot... ergo the simple script above that I use to replicate the same error.

I will do some more looking at Active Perl, but I do have a strightforward suggestion in the man time.

Open the mod file in a text editor. - its just a series of search & replacement instructions

Note the files affected/modified. you should only be concerned with the .pl files. NOTE some data files ARE.pl files - they are effectively a series of assignment statements - and therefore must obey Perl syntax rules - like statements ending in a semicolon...

Now, using a programmer's editor that supports Perl Syntax (such as notepad++ or Crmson editor);

Open each .pl file, and make sure the editor's syntax/formatiing view is set to Perl.

Now just review the code, it should be all color coded.

IF the problem is a syntax error (as you suspect), you should be able to spot it.

You can alternatively create a test install of YaBB and manually apply the mod, this should likely cause you to 'trip over' the errror (provided it is a syntax error).

I note from a bug report, you have mofdified your code with a fix from carsten (and I don't know if you have any other mods) - other Mods and bug fixes can impact seemingly unrealted pieces of code...

A good thing to do would be to run a code comparator (like WinMerge) with an installed test copy of the original 2.5 code against your installed code. It will find EVERY difference in the two installs. This might be just the trick for you...

I use it to debug and document my code all the time. When I have sites/applications that have been up for a while, even with conscientous use of self-documentation and read-mes/change files, little code fixes slip by all the time.

Crimson is indeed a great little editor! I keep the portable version on a thumb drive, works great.

Doesn't matter how you found it, its fixed now.

Thanks for letting us know, and I'm glad its werkin' for ya.

BTW, if you ever have to move script code that is modified, WInMerge can find all your cumulative changes - the you install clean code and retro-fit all the changes. will also analyze your config files as well (that may need hand tinkering due to server configuration and version issues with the host software.