Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi jfrm
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 :- 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.
"Keep pouring your ideas"
In reply to Re: DBIx::Class::Schema::Loader prob
by jesuashok
|
|