in reply to Help in putting "$" as part of output
open(F,">$filename.inp");
to
open my $F, ">", "$filename.inp";
Then change all subsequent references from F to $F.
See open for more details. That won't fix your current issue, but it'll level up your code and beginner status.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help in putting "$" as part of output
by Anonymous Monk on Mar 12, 2016 at 01:15 UTC | |
by perlfan (Parson) on Mar 15, 2016 at 14:24 UTC |