I want it to give me the output in a file. How and where do I declare the output file details?
stevieb has already suggested that you should see open. Did you read that? Did you understand it?
What about perlintro - have you read that? If not, you really should. It even contains some very simple examples of how to open and write to files.
In reply to Re^5: How to write to a file?
by hippo
in thread How to count the length of a sequence of alphabets and number of occurence of a particular alphabet in the sequence?
by davi54
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |