in reply to Re: Attempt to free unreferenced scalar
in thread Attempt to free unreferenced scalar

From the discussion a while back on this forum, the return is no more bogus than any other return that's at the natural end anyway.

Even without (I tried deleting it in case the bahavior changed in the latest build) the error is the same.

Replies are listed 'Best First'.
Re^3: Attempt to free unreferenced scalar
by adrianh (Chancellor) on Feb 24, 2004 at 00:11 UTC
    From the discussion a while back on this forum, the return is no more bogus than any other return that's at the natural end anyway.

    Hmmmm. When I run:

    #! /usr/bin/perl return 1;

    perl tells me

    Can't return outside a subroutine at return.pl line 2

    So I guess the previous discussion was somewhat inaccurate.

    Apologies that this is not help in solving your original problem.

        Quite correct. My mistake. Apologies.

        Learn something new every day :-)