> > Now *that* I find to be an interesting idea. The oneliner would then > > become: > > > > "example.txt".IO.slurp.subst("Hello","Hi").spurt($filename) > > > > which has a nice left-to-right feel.
The feed operator already sort of fits well here "example.txt".IO.slurp.subst('Hello','Hi') ==> spurt($filename) Brian