The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package
  Joe2Jim ;
 
use Filter::Util::Call ;

use strict ;
use warnings ;
 
sub import
{
    my($type) = @_ ;
 
    filter_add(
        sub 
        {
            my($status) ;
            s/Joe/Jim/g
                if ($status = filter_read()) > 0 ;
            $status ;
        })
}

1 ;