[pm-h] write to empty files
rlharris at oplink.net
rlharris at oplink.net
Fri Jun 8 10:48:48 PDT 2018
On Fri, June 8, 2018 12:20 pm, Uri Guttman wrote:
> use File::Slurp ;
> write_file( 'filename', "header text\n" ) ;
> append_file( 'filename', "more text\nand even more\n" ) ;
Thanks, Uri; this is what I hoped to find!
But my knowledge of Perl is rusty; I do not recall what structure is
needed to feed to this code a list of filenames, such as:
foobar-01.tex
foobar-02.tex
foobar-03.tex
...
More information about the Houston
mailing list