Can't use string (">gamelog.txt") as a symbol ref while "strict refs" +in use at shannon.pl line 31, <STDIN> line 1.
my $gamesave = "gamesave.txt"; open(LOG, ">$gamesave") or die "Error: $!"; print LOG join(" ", @secrettext_new); close(LOG) or die "Error: $!"
In reply to Opening a file for writing by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |