RosettaCodeData/Task/Fixed-length-records/Perl/fixed-length-records-5.pl
2023-07-01 13:44:08 -04:00

2 lines
98 B
Raku

use Path::Tiny;
path('outfile.dat')->spew(pack '(A64)16', split /\n/, path('sample.txt')->slurp);