in reply to Re: Strange behaviour of m and $_
in thread Strange behaviour of m and $_

And an aside, don't use the leading ampersand on subroutine calls; it does things to how the sub is called
Slight clarification: that only applies when no () follow the sub name.

Replies are listed 'Best First'.
Re^3: Strange behaviour of m and $_
by ikegami (Patriarch) on Oct 18, 2006 at 01:01 UTC
    ...except
    $\=$/; sub print { CORE::print("[$_[0]]"); } print('foo'); # foo &print('bar'); # [bar]