Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Help in putting "$" as part of outputby perlfan (Vicar) |
on Mar 12, 2016 at 00:38 UTC ( [id://1157514]=note: print w/replies, xml ) | Need Help?? |
Please change:
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.
In Section
Seekers of Perl Wisdom
|
|