http://www.perlmonks.org?node_id=984650


in reply to Windows 7 Remove Tabs Out of Memory

use warnings; use strict; use autodie; open my $fhi, '<', 'large_file.txt'; open my $fho, '>', 'test.txt'; while (<$fhi>) { s/\t/ /g; print $fho $_; }