I`ve updated the topic, will also check these items you suggested.
In reply to Re^2: Not so trivial question by heatblazer in thread Perl script to binary file (lone stand) by heatblazer