in reply to private sub routine

my $private_subroutine = sub { print "Hollow World\n" }; &$private_subroutine();

Replies are listed 'Best First'.
Re^2: private sub routine
by QM (Parson) on Sep 02, 2009 at 20:31 UTC
    &$private_subroutine();

    I'm a bit fuzzy on this, but doesn't &$private_subroutine() have subtle issues with @_ that $private_subroutine->() doesn't?

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

      No, not if you include the parens.
      $ perl -le'sub foo { print 0+@_ } @_=1..4; &foo; &foo();' 4 0