in reply to Attempt to free unreferenced scalar

Hi, this is new territory for me. I get the error “Attempt to free unreferenced scalar: SV 0x1ebc270, Perl interpreter: 0x223ff4 at lib/DBIx/Lite.pm line 277.” The line in Lite.pm reads “$fh->print( join($args->{'column-separator'}, @FieldNames), $args->{'record-separator'});”
  • Comment on Re: Attempt to free unreferenced scalar

Replies are listed 'Best First'.
Re^2: Attempt to free unreferenced scalar
by Anonymous Monk on Aug 05, 2007 at 18:24 UTC
    This is an XS error and should appear if you apply sv_2mortal to a scalar SV more then one time, like sv_2mortal(sv_2mortal(newSViv(0))).