in reply to Overriding built-ins

You may find this node useful.

The short answer is that print is one of a handful of builtins that cannot be overridden. See in particular diotalevi's comments in the thread referred to above.

the lowliest monk

Replies are listed 'Best First'.
Re^2: Overriding built-ins
by chas (Priest) on Jun 01, 2005 at 18:40 UTC
    Thanks tlm (and everyone else)! I should have searched perlmonks before asking (I did look in the docs but didn't find the answer.) The print function is an obvious choice to try out overriding since it would be easy to see the effect; presumably one wouldn't actually want to do this (for other than experimentation), though.
    chas