develooper Front page | perl.perl5.porters | Postings from February 2004

[perl #27040] Internal error: "Attempt to free unreferenced scalar"

Thread Next
From:
John M. Dlugosz
Date:
February 24, 2004 20:29
Subject:
[perl #27040] Internal error: "Attempt to free unreferenced scalar"
Message ID:
rt-3.0.8-27040-79720.3.9168168233855@perl.org
# New Ticket Created by  "John M. Dlugosz" 
# Please include the string:  [perl #27040]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=27040 >


I'm running ActiveState build 809 under Windows 2000.

Main file what.perl:
    use utf8;
    use charnames ':full';

    use Foo;

    print "Hello world\n";

Module Foo.pm:
    use utf8;
    use charnames ':full';

    package Foo;

    my $LN= "\N{POUND SIGN}";


    1;  # loaded OK

The error I get is
    Attempt to free unreferenced scalar: SV 0x1ad1bd8 at what.perl line 4.

I could not reduce the problem down to one file; apparently having use 
charnames in the main program is necessary to see the problem with the 
module file!

--John

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About