Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm developing a Perl/Tk app that uses a Text widget for the main display. The users will have the ability to write their own perl extensions that the app will run. What I'd like to happen is that if the user does a print in their module, instead of going to STDOUT it will actually go to a buffer that gets processed and then displayed on the main display.
Is there a way to trick print into doing something like this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) Re: print()ing somewhere else?
by jeffa (Bishop) on Aug 14, 2002 at 15:07 UTC | |
|
Re: print()ing somewhere else?
by JupiterCrash (Monk) on Aug 14, 2002 at 15:37 UTC |