No such thing as a small change | |
PerlMonks |
Re: Tacking a function on to STDOUT?by larryk (Friar) |
on May 28, 2001 at 15:11 UTC ( [id://83718]=note: print w/replies, xml ) | Need Help?? |
I thought you might be able to do...
but you can't so don't listen to me. the warning message isn't useful in this case but if I change it to &print = &my_print; it prints... so it reckons I can't do it but it has printed the time and the newline from the function just without the @_. can this be made to work? larryk "Argument is futile - you will be ignorralated!"
In Section
Seekers of Perl Wisdom
|
|