[LA.pm] stopping wide character
David Heayn
david at cloudgraphics.com
Fri Jul 29 17:39:13 PDT 2005
I'm using a perl script off perl.com that explains how to build a
simple RSS-> HTML feed service. It works OK visually and
functionally, except I keep getting error/warning emails that I can't
seem to track down. This has been happening pretty much everyday for
the last 2 weeks or so.
Envelope-to: david at cloudgraphics.com
From: root at rez.androtics.com (Cron Daemon)
To: david at cloudgraphics.com
Subject: Cron <cloudgra at rez> perl /home/cloudgra/www/home/cgi-bin/rss.pl
X-Cron-Env: <MAILTO=david at cloudgraphics.com>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/cloudgra>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=cloudgra>
Date: Fri, 29 Jul 2005 16:55:04 -0700
Wide character in print at /home/cloudgra/www/home/cgi-bin/rss.pl line 308.
If I look at line 308 it's blank.
307: open(WRITE, "+>$daypop");
308:
309:# print HTML chunk
310:print WRITE "<table width=300 border=1 cellspacing=0 cellpadding=5>\n";
311:print WRITE "<tr><td align=center bgcolor=Silver>" .
$rss->channel('title') . "</td></tr>\n";
312:print WRITE "<tr><td>";
Is there a command like chomp to delete wide characters?
David Heayn * http://www.cloudgraphics.com * 213/925.3283
More information about the Losangeles-pm
mailing list