include a counter in HTML

2002-09-26 Thread Lance Prais
am trying to output the first 20 lines of a .txt document with the following code. This is working correcting, which brings me to the next issue that I cannot solve. As you will notice, I have a counter and would like to include the counter in my html output For example: 1. Title Icon 2. Title I

Re: perl

2002-09-26 Thread Janek Schleicher
Weibel Daniel wrote at Thu, 26 Sep 2002 09:55:01 +0200: > I'm trying to get a random line from a text file and than delete the file. > I came up with this and it works, however the line which was cut/past adds > without any reason a backspace/space on it. It doesn't write it all on one > line.

Weekly list FAQ posting

2002-09-26 Thread casey
NAME beginners-faq - FAQ for the beginners-cgi mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email addr

Re: uninitialised value in pattern match

2002-09-26 Thread Francesco Scaglioni
my ($mollusc) = (param('mollusc') || '') =~ /^(\w+)$/; Works fine and no error messages -- Thank you very much F -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

perl

2002-09-26 Thread Weibel Daniel
Hi I'm trying to get a random line from a text file and than delete the file. I came up with this and it works, however the line which was cut/past adds without any reason a backspace/space on it. It doesn't write it all on one line. How can I change the script that it doesn't add anything on it