Hello, all:
I run perl, say at C:\, and try open file in other directory:
it did not seem open, what is wrong? Thanks!use strict; use warnings; $in_file="e:/perl/practice/test.txt"; $out_file="e:/perl/practice/testout.txt"; open (OUT, ">$out_file") or die "cannot open $out_file\n"; open (IN, "<$in_file") or die "Can't open file\n";
In reply to open file that is not in default directory by polycomb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |