Perl pipe reading overhaul : data size header