Hi there,

Just another way to do it!

Cheers,
Jakob


#!/usr/bin/perl -w

open FILE, ">", yourfile.dat;

print FILE <<EOF;

Here you can write what you whant

without having to type "print FILE" before every line!

EOF

close FILE;

-----Oprindelig meddelelse-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sendt: 15. januar 2003 18:06
Til: [EMAIL PROTECTED]
Emne: Create Text File


Hello all,

  I need to create a .txt file and then print some text to it....  Does
anyone know how to do this?

Thanks in advance.......
Kurt



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to