Dec 10, 2010, 5:53 AM
Post #2 of 2
Telling us that it doesn't work without including any info on what happens is meaningless to us.
Re: [sklassen] Using the "get" function via a web page
[In reply to]
Start by removing the -w switch and add the strict and warnings pragmas, which should be in every script you write.
When debugging cgi script, use the CGI::Carp module.
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
Remove the printing of your html tags, the fetched page should already include those tags.
Unless you need to do something with the fetched html, use the getprint() function instead of the get() function.