in reply to CGI::Uploader: Using closures to improve a declarative interface.
How is your new method different from?:
I guess I don't quite understand...spec => { img_1 => { gen_files => { img_1_thmb_1 => sub { gen_thumb({w=>100, h=>100}) }, img_1_thmb_2 => sub { gen_thumb({w=>50, h=>50}) }, } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI::Uploader: Using closures to improve a declarative interface.
by diotalevi (Canon) on Dec 19, 2005 at 15:54 UTC | |
|
Re^2: CGI::Uploader: Using closures to improve a declarative interface.
by dragonchild (Archbishop) on Dec 19, 2005 at 16:34 UTC | |
|
Re^2: CGI::Uploader: Using closures to improve a declarative interface.
by eric256 (Parson) on Dec 19, 2005 at 17:18 UTC |