in reply to Re: CGI.pm file uploads in very generic script
in thread CGI.pm file uploads in very generic script

I think I understand what you mean. But I'd like to clarify it just a little further.

So, if we have:

$q->param('foo', 'junk'); $q->append('foo', "$something");
is 'foo' now "junk$something" or is it ["junk", "$something"]?

Replies are listed 'Best First'.
Re: Re: Re: CGI.pm file uploads in very generic script
by pjf (Curate) on Nov 14, 2001 at 05:09 UTC
    The latter. ["junk","$something"];

    If you want to turn that into the first (ie, one big concatenated string), you can do this:

    $q->param("foo",join("",$q->param("foo")));

    Cheers,
    Paul