in reply to can't call method 'protocol'
That may be your immediate problem, but your first problem is:
Prototype mismatch: sub main::head ($) vs none at C:/Perl/lib/CGI.pm line 299.
That sort of implies that head ain't what you think it is, and most likely your $url is getting tossed away.
|
|---|