in reply to Re: CGI::Application giving blank forms
in thread CGI::Application giving blank forms

Error executing run mode 'start': Not a SCALAR reference at Bloggie.pm line 40. at /var/www/Bloggie.pl line 7 ^ that's what CGI::Carp gives me.
  • Comment on Re^2: CGI::Application giving blank forms

Replies are listed 'Best First'.
Re^3: CGI::Application giving blank forms
by graff (Chancellor) on Mar 31, 2010 at 21:28 UTC
    I wonder whether line 40 might be this one, in "sub start...":
    my %database = %{ $$self->{'DATA'}; };
    If so, you should try "$self" instead of "$$self" there. The extra "$" was probably a mistake. (The extra semi-colon, immediately following {'DATA'}, might also be a mistake, which might show up as such when you fix the sigil problem...)