Hey there, I have this line in a script (from a website that I am now maintaining and just moved to DH): /usr/local/bin/lynx It seems to be causing an error. I am copying the whole script below as not sure if need anything else. Sorry to be such a pest the last couple of days. I much prefer php and mysql, this perl and mysql is a pain!
Thanks for any help would be helpful.
use CGI::Carp qw/fatalsToBrowser/;
use CGI qw/:standard escape/;
/usr/local/bin/lynx -dump http://www.domain.com/cgi-local/daily.cgi 2>&1 or die("$!");
$content =~ s/\s+/ /gs;
@content = split (/\s/, $content);
$content .= ’ ’ . $content[$lastword++] until length($content) > 100;