This creates the file, but nothing is written into it? I'm working on XP Pro with Activestate PERL 5.8.6 build 811. Help! Alexopen FILE, ">file.txt"; $record = <STDIN>; print FILE "The is the first line\n"; print FILE "$record\n"; close FILE;
In reply to Getting STDIN and writing to a file by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |