develooper Front page | perl.beginners | Postings from December 2002

Substition problem with guestbook (smilies)

Thread Next
From:
Mystik Gotan
Date:
December 23, 2002 03:57
Subject:
Substition problem with guestbook (smilies)
Message ID:
F178NTXiQD9Eg44PdOE0001cf32@hotmail.com
Hi there!

I've got a problem. I scripted a nice guestbook script. All working fine, 
and then I thought about adding smilies to the script. Now, the only 
solution doing this is using tr/// or s///. Tried both, no effect. I really 
tried a lot, but still getting some errors. So, I thought, adding use 
strict; will help a bit (deleted it and I knew I had to add it sometime). 
When removing the smilie stuff, everything works fine. So here's the script 
and the logfile. I'd really appreciate if someone can fix it for me, I've 
been learning Perl for a very long time now (however, having months I didn't 
do anything about it), but I don't really have experience, which also means 
debugging isn't too familiar for me (thought I did a good job at the first 
beta of this one... ;)).

Anyway, attachments provide the actual script and logfile.


--------------
Bob Erinkveld (Webmaster Insane Hosts)
www.insane-hosts.net
MSN: gotan2k3@hotmail.com



_________________________________________________________________
Ontvang je Hotmail & Messenger berichten op je mobiele telefoon met Hotmail 
SMS http://www.msn.nl/jumppage/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About