in reply to Shortening long and dirty code
Incorperate the processing of the uploaded file into a subroutine. The subroutine will be passed the result from param('upload' . $n), where $n is the number of the upload field.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Shortening long and dirty code
by sulfericacid (Deacon) on Sep 04, 2003 at 20:19 UTC | |
by hardburn (Abbot) on Sep 04, 2003 at 20:22 UTC |