did you check whether the connection is success or not.I found that your code, does not check for the status of connection
If the object does not have the proper reference in it, then If you use the undefined scalar ( which is not a reference ) then you get the following error :-my $schema = MG::Schema->connect('DBI:mysql:mg', 'jfrm', '???');
Becuase perl internally calls the SvREFCNT_dec() or SvREFCNT_inc() for all the references to free memory which corresponds to the references ( In your case it is a scalar ). In your case if the connection is not success then it should try to call the any ot the function, which in turn throws the error which you got.[Wed Aug 23 18:22:49 2006] mgdb.pl: Attempt to free unreferenced scala +r: SV 0x1fa7a5c, Perl interpreter: 0x224234 at C:/Perl/si
In reply to Re: DBIx::Class::Schema::Loader prob
by jesuashok
in thread DBIx::Class::Schema::Loader prob
by jfrm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |