Re: Is this possible to override print() ?
- From: chas.owens@xxxxxxxxx (Chas. Owens)
- Date: Tue, 26 Feb 2008 09:38:06 -0500
On Tue, Feb 26, 2008 at 5:51 AM, Jenda Krynicky <Jenda@xxxxxxxxxxx> wrote:
snip
No need for source filters. All you have to do is to implementsnip
whatever special behaviour you need for a tied (magical) filehandle
That works for that file handle, but he/she is talking about replacing
all print calls in a set of scripts with a custom version. That means
there might be prints to stdout, stderr, and numerous files. He/she
was trying to avoid editing the source for each program (of course,
that is what a source filter does, but at least you only need to do it
once).
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
.
- Follow-Ups:
- Re: Is this possible to override print() ?
- From: Jenda Krynicky
- Re: Is this possible to override print() ?
- References:
- Is this possible to override print() ?
- From: Panda-X
- Re: Is this possible to override print() ?
- From: Panda-X
- Re: Is this possible to override print() ?
- From: Chas. Owens
- Re: Is this possible to override print() ?
- From: Jenda Krynicky
- Is this possible to override print() ?
- Prev by Date: Re: Is this possible to override print() ?
- Next by Date: array question
- Previous by thread: Re: Is this possible to override print() ?
- Next by thread: Re: Is this possible to override print() ?
- Index(es):
Relevant Pages
|