Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: CGI.pm file uploads in very generic script

by amelinda (Friar)
on Nov 14, 2001 at 05:06 UTC ( #125192=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://125192]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2020-10-23 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (238 votes). Check out past polls.

    Notices?