I've got a Provider modeled after the DBI Provider on axkit.org that I want
to accept file uploads. At first I tried something like the following from
within my provider's init():

  my $r = $self->apache_request();

  [...]

  if ( my $upload = $r->upload ) {
    [blah]


That failed miserably with an error informing me that object method 'upload'
couldn't be found in the Apache package  (to which I intelligently thought,
'Huh?!?') so after some head-scratching and grepping the PerForm taglib to
see how it does things, I decided that it might be best to grab another
instance like so:

  my $r = $self->apache_request();

  [...]

  if ( my $upload = Apache::Request->instance($r)->upload ) {
    [bleh]

But that doesn't ever set $upload to anything. So I'm wondering what I'm
doing wrong here. Any thoughts?

--
Sean Evans

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to