in reply to Re^2: On References to the Unnamed
in thread On References to the Unnamed

sub new_scalar_ref { \my $x }

Replies are listed 'Best First'.
Re^4: On References to the Unnamed
by gaal (Parson) on Mar 16, 2005 at 05:43 UTC
    Ha! Cool. Hard to beat that. :)

    Inlined that'd be do { \my $x }, I suppose.

    Update: As Anonymous Monk mentions below. This kinda makes me wonder what gensym did except maybe to encapsulate this?

        Greater minds think sooner... I suppose that I must have read this and not have it register till now.