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

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

Thread Next
John M. Dlugosz
February 24, 2004 20:29
[perl #27040] Internal error: "Attempt to free unreferenced scalar"
Message ID:
# 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: >

I'm running ActiveState build 809 under Windows 2000.

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

    use Foo;

    print "Hello world\n";

    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!


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About