I am in the process of making a website in cgi-perl and I have ran into a problem. My site consists of something similar to a message board. In order to create pages (with 5 listed per page), I am using some formulas and the problem I have is that it says 2 is greater than 10. I remember seeing somewhere how to make it use 10 as 10 and not as 1, but I can't remember how.

Thank you very much for your assistance ---------------------------------------------------------------------------- http://www.ppcpathways.com/Visit my new site devoted to reviewing the latest pocketpc products and news that I built in cgi-perl!

I actually figured that out after I posted it because I remember reading that you use < > for numbers. What did you post, though? It is confusing to me...all I know is !=, =, <, >, etc. When my site is closer to complete, I should post it so everyone can give me their opinion. ---------------------------------------------------------------------------- http://www.ppcpathways.com/Visit my new site devoted to reviewing the latest pocketpc products and news that I built in cgi-perl!

If you posted the section of code you are having problems with that will be easiest.

What I posted is the operators Perl uses to compare numbers and strings, strings can be numbers, but if numbers are compared as strings they are not compared by the overall value of the number, but are compared in an alpha betical sense, thus

1001 comes before 2 because 1 is first in an alpha betical sense even though 1001 is greater than 2 in a numeric sense.