Thanks so much guys, here is what i ended up doing before seeing any replies

*snipp*


  if (!$bookid) {
    my $fif = new HTML::FillInForm;
    my $output = $fif->fill(scalarref => \&bookPool($self), fobject => $q);
    return $output;
  } else {
    return "true";
  }

Before I get lynched for having bookPool($self) instead of
$self->bookPool is because I tend to keep everything like
setup/pre_run/post_run et al in driver.pm, and all applaction stuff in
another module. it's just my way of doing things, so i don't get 1
HUGE module file.

Jeff.

On Mon, 21 Mar 2005 13:56:55 -0500, Jason Purdy <[EMAIL PROTECTED]> wrote:
> D'oh!  Forgot that part!
> 
> Also, you may need to put whatever flag in that anonymous hashref
> ('some_errors' in the docs) that triggers your template code that
> something is off.
> 
> - Jason
> 
> Michael Peters wrote:
> > Jason Purdy wrote:
> >
> 
> >>   if (!$bookid) {
> >>     return $self->bookPool( { 'db_error' => 1, 'some_errors' => 1 } );
> 


-- 
Jeff MacDonald
http://www.halifaxbudolife.ca

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to