in reply to Yet another CGI Upload problem - not like the others!

This is a nit and not related to your question but you're line use CGI qw(:standard); can and should be changed to use CGI;. You don't import all those extra functions when you just use the object interface.

You should also consider using the unambiguous object method calling syntax. Replace $query = new CGI with $query = CGI->new. There are cases where you can introduce unexpected bugs by using your original form. Be nice to yourself and be explicit.

__SIG__ use B; printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE;

Replies are listed 'Best First'.
Re: Re: Yet another CGI Upload problem - not like the others!
by stuayres (Novice) on Dec 11, 2002 at 16:17 UTC
    Diotalevi, Thanks for your advice - I'll take it! I've learned a heap of excellent things here today, and as a bonus, got something working! Thanks again, Stu

      Oh you know? I'm a moron. I forgot to mention use strict;use warnings;. This is just good coding hygiene. Add in use diagnostics for verbose warnings. Your code should (in general) run without spitting anything up.

        Diotalevi, This is all excellent stuff. Thanks again. Good general advice. This a great place to learn isn't it? Everyone's so helpful. This is the best site I've ever been to for help.