Strange problem with cookie script

2005-02-07 Thread Chris Brown
Hi, I am getting a strange problem with two cookie scripts I've written. The first, cookie_maker.cgi, creates two cookies containing a user id and a security key: #!/usr/bin/perl -w use strict; # creates cookies print Set-Cookie:user=cbfb\n; print Set-Cookie:secid=1234\n; #

Re: Problems installing Text-Iconv-1.4

2005-01-25 Thread Chris Brown
/Install/vte2perl-version.h ./vendor_perl/5.8.5/i386-linux-thread-multi/Gnome2/Vte/Install/vte2perl.h ./vendor_perl/5.8.3/i386-linux-thread-multi/Gtk2/TrayIcon/Install/trayicon-autogen.h [EMAIL PROTECTED] wrote: - Original Message - From: Chris Brown [EMAIL PROTECTED] Date: Monday, January 24

Problems installing Text-Iconv-1.4

2005-01-24 Thread Chris Brown
Hi. I'm trying to install a local copy of the W3C HTML Validator. I've managed to install all the pre-requisites apart from Text-Iconv-1.4 - I get the following error message: /[EMAIL PROTECTED] Text-Iconv-1.4]# perl Makefile.PL Checking for iconv ... ok (added -liconv) NOTE: If you have

CR LF with UNIX and Windows (DOSish?)

2001-05-14 Thread chris brown
--- David Falck [EMAIL PROTECTED] wrote: --snip-- I am pretty new at Perl so don't know the syntax to do this, but could you sidestep the issue and count the number of bytes in \n, then subtract as appropriate? Chris __ Do You Yahoo!? Yahoo!

[BPQ] help!! any idea whats wrong with this??

2001-04-24 Thread Chris Brown
so...this is suposed to count the words in FILE and return how many occourances of each word there were...its not working for me thoughits only returning the count for the last word in the file...help #!/usr/local/bin/perl open (FILE,../www/main.php3); @lines=FILE; close(FILE); foreach

Re: its not homework

2001-04-24 Thread Chris Brown
its no deal man...i got it to work...thanks a ton for the help you guys. Im sure it wont be long until next time. Chris Brown