in reply to Re^3: use variable as name for new file
in thread use variable as name for new file

You should create a CGI query object and use the OO interface.

Why? The functional interface works fine here. What advantages do you think the OO interface has?

If you use the functional interface there's another step to it, before you can read parameters. Forgotten what it is at the moment, sorry.

To use the functional interface you need to import the required functions into your program's namespace. One way to do that is with the

use CGI ':standard';

line that this program already has. So it seems that the functional/OO difference is a complete red herring here.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re^5: use variable as name for new file
by samizdat (Vicar) on Jun 16, 2006 at 15:48 UTC
    <sackcloth and ashes> I misread the man CGI page.

    Don Wilde
    "There's more than one level to any answer."