https://mamchenkov.net/wordpress/2005/09/14/working-with-named-pipes-in-perl/
Working with named pipes in Perl