in reply to The best way to filter file I/O

steves,
I think you probably want to subclass PerlIO::via. I have only used it once, but there is a more complete example in TFM (just need to change hex stuff to uc).

Cheers - L~R