Introduction

I have created
a perl version of the Code Project Discussion Forums. The perl
version of the forum is very basic and lacks a lot of features.
This project is an open-source project meaning that I am urging
perl programmers to help make this forum better. Feel free to add
features but don't forget to report them so I can update the
source code file. Currently the forums don't use some sort of a
database but future releases will use the mySQL database. This is
only BETA 1 of version 1.0. The forums are tested under Apache
for Win32. Currently there is no admin feature but future
releases will definitely include an admin section.

Lets get our hands dirty...

Instructions on how to install the script are included in the zip file. Installing the script is very easy. The project is made up of 7 files and 2 directories.

Directories

img/

Where the emoticon icons are stored.

messages/

Where the reply forms are stored

Files

Install.txt:

Contains instruction on how to install the script.

global.css:

The CSS file used for the HTML pages.

forum.pl:

This does the hard work.

forum.html:

This file contains the messages posted.

data.txt:

A simple text file that keeps a count of how many messages are posted.

mouse.js:

Contains JavaScript functions.

new.html:

The form for posting a new message.

That's
all there is to it.

To
do...

There
is lots of work to be done with the Perl Discussion Forums. The
new versions will be releases right here at Code Project. Please
give some feed back!

Enjoy!

Revision History

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

Comments and Discussions

I wish to execute a perl module and redirect the ouput to variable / array with redirect operator '>' instead of a file.Can any one please let me know how to do this if it's possible ?Thankyou very much.

I have written a stored procedure in Firebird that receives the field name(field1) and the condition-cond1 (where clause of the select statement) as parameters and returns the required field as output.

hello everybody,,i m tanmoy panja doing a project on online Adwords system using perl.now i m facing a problem with how to check that flash must support clicktag.because i have to show flash ads on publisher websites.exactly i mean to say that how to check if there is any clicktag in .swf file using perl.plzzz help me out as early as possible from this.

I love your work! Thanks to this article, I have my message board running on my site without using any database. This is a plus for me since I would need to upgrade my hosting if I wanted a MySQL database or something.

I have one problem though. When using the forum with Opera, none of the messages appear when clicking them. Do you have any idea what this could be? No problem in IE though. Haven't tested in any other browsers...

I am using Cygwin perl Version 5.6.1 on win2k system. I am trying to FTP Windows ASCII/Text files to unix. I am getting windows line endings at the end of each line in the files that have been ftp'd using Net::Ftp module. These are CR/LF.

I dont want them to appear in the files that have been ftp'd onto unix. I want to remove them. I know there are some tools out there that would remove this for me. But i want to use them as the last resort. And i am approaching this forum to get any inputs on this.

If anyone could throw some light as to how i could convert a windows file with windows line ending to windows file with unix line endings before fpt'ing it accross to unix. Or to remove the windows line endings in general. I know of another way using "tr". But i dont want to use this either. As this is on a file by file basis. I wanted to know if there is any environment variable or any other way out with which i make minimal changes to my perl script and achieve the objective. Reason i am saying this is, my perl script has 100's of such files(ascii) being ftp'd and i have to add tr ahead of each one of them as it doesnt work for a bunch of files or using a wild character.

One of the better books I've used is the Perl How to Program by Deitel Deitel Nieto and McPhie. It has a lot of good Perl info, and also sections on CGI and Python... Kinda expensive, but worth it so far.

I'm looking for perl Excel and Ole examples , can anyone give me some hints, links....I wrote some code in perl to access the spreatsheet which I'm willing to share if one askes for it. ( I'm not having a server on line ) If you mail me i'll send it to you.

You need a good Object Explorer to map the proper methods, objects and properties of each interface. Since I happen to have VB and VC++ on my machine as well, I use the Object Browser that comes standard with VB, and associate the appropriate reference to a project (I actually created an empty project with references to all of the office objects for an easy reference). But for those without those tools, never fear, you still have a chance.

Was looking for perl scripts on the net that had to do with Excel and Ole when I bumped into this one.( Code Project Discussion Forums in Perl ) After some trouble ( always forget my path names in the html-root directory ) it was working. I'm not using Apache but Xitami as webserver.( Only for testing purposes) So you can add this to the list of working servers.

But I'm still looking for perl Excel and Ole examples , can anyone give me some hints, links....

I wrote some code in perl to access the spreadsheet which I'm willing to share if one askes for it. ( I'm not having a server on line ) If you mail me i'll send it to you.