Hallo Konfusion!
Ich habe im Forums-Archiv etwas gelesen von CGI-Header, hat mich aber nicht weitergebracht.
Es hat Dich sogar auf dem falsche Weg gebracht. Aus der CGI.pod:
-------------------------------------
=head2 GENERATING A REDIRECTION HEADER
print redirect('http://somewhere.else/in/movie/land');
Sometimes you don't want to produce a document yourself, but simply
redirect the browser elsewhere, perhaps choosing a URL based on the
time of day or the identity of the user.
The redirect() function redirects the browser to a different URL. If
you use redirection like this, you should not print out a header as
well.
-------------------------------------
Ansonsten tun Deine zwei Code-Varianten genau das selbe, in der ersten nutzt Du die OO-Schreibweise für die Methoden des CGI-Moduls, in der zweiten importierst Du sie.
Viele Grüße aus Frankfurt/Main,
Patrick

_ - jenseits vom delirium - _
[link:hatehtehpehdoppelpunktslashslashwehwehwehpunktatomicminuseggspunktcomslash]
Nichts ist unmöglich? Doch!
Heute schon gegökt?
All'alba vincerò!