Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
How can one get the result to a text file when print join is used?by supriyoch_2008 (Monk) |
on Feb 27, 2013 at 12:24 UTC ( [id://1020869]=perlquestion: print w/replies, xml ) | Need Help?? |
supriyoch_2008 has asked for the wisdom of the Perl Monks concerning the following question: Hi PerlMonks, I am interested to get the output of the following perl script (p.pl) to a text file. I have tried in several ways but I always get only the first two lines and not the actual permutations. FH does not work when I write it in between print and join. Usually FH is written between print and " and it nicely works. Here it does not. I am looking forward to perlmonks for suggestions. Here goes the script p.pl:
Here goes the incomplete output of text file myPer .txt:
Back to
Seekers of Perl Wisdom
|
|