Tag: Perl

Read Binary File in Perl

Problem Given the path to a directory. Write a Perl script to print the average time to open and read all files in that directory. The files should be read in blocks of 64 KB Solution This is straightforward problem but we need to pay attention to the fact that files can grow in size