in reply to CGI::Uploader: Using closures to improve a declarative interface.

Nice post. I like this idea; it makes for nice looking and simple code at the user level, yet allows for a good bit of power behind the scenes.

One thing I noticed though. You're passing a hash reference, but accessing it as if it's a list of key-value pairs with my %args = @_. Am I missing something here, or is it just a small bug? Lord knows I've had that bug before, which is the reason I noticed it.

  • Comment on Re: CGI::Uploader: Using closures to improve a declarative interface.
  • Download Code

Replies are listed 'Best First'.
Re^2: CGI::Uploader: Using closures to improve a declarative interface.
by markjugg (Curate) on Dec 20, 2005 at 00:50 UTC
    Although it's pseudo-code-- yes there was a bug there.