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.
In reply to Re: can't call method 'protocol'
by GrandFather
in thread can't call method 'protocol'
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |