Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use warnings; use strict; use CGI qw/:standard/; print header, start_html; use CGI::Carp 'fatalsToBrowser'; use LWP::Simple; my $page = ""; my $content = get($page); my ($guests) = $content =~ m/\d+\s+Guests/; my ($users) = $content =~ m/\d+\s+Users/; print "$guests and $users";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: premature end of script headers?
by Fletch (Bishop) on Feb 22, 2007 at 17:46 UTC | |
by imp (Priest) on Feb 22, 2007 at 17:56 UTC | |
by Fletch (Bishop) on Feb 22, 2007 at 18:11 UTC | |
|
Re: premature end of script headers?
by ikegami (Patriarch) on Feb 22, 2007 at 18:08 UTC | |
|
Re: premature end of script headers?
by sulfericacid (Deacon) on Feb 22, 2007 at 17:42 UTC |