Thread use LWP::Simple;: Problem (4 answers)
Opened by pktm at 2003-09-30 20:07

pktm
 2003-09-30 20:07
#5139 #5139
User since
2003-08-07
2921 Artikel
BenutzerIn
[Homepage]
user image
Bekomme einen Fehler beim Scriptaufruf:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
use LWP::Simple;
my $lnr = '2689';
my $k1 = '52';
my $k2 = '48';
my $getURL = qq~http://www.schlachtplatz.de/cgi-bin/spiel/karte.pl?lnr=$lnr&k1=$k1&k2=$k2~;

# ---------------------------------------------------
# LOGIK
# ---------------------------------------------------

my $file = get( $getURL );
print "Content-type: text/html\n\n";
print $file;

Meldung: Prototype mismatch: sub main::head vs ($) at karte.cgi line 16
Was sol mir das sagen?
mfg pktm
http://www.intergastro-service.de (mein erstes CMS :) )

View full thread use LWP::Simple;: Problem