P is for Practical | |
PerlMonks |
overriding print built-inby jeremyh (Beadle) |
on Apr 12, 2006 at 00:28 UTC ( [id://542712]=perlquestion: print w/replies, xml ) | Need Help?? |
jeremyh has asked for the wisdom of the Perl Monks concerning the following question:
I am having trouble overriding the "print" builtin. Here is an example that should override both "open" and "print". Output is 23 instead of 12 3 It looks like "open" is being overridden, but not "print".
Back to
Seekers of Perl Wisdom
|
|