in reply to how to read variables from a file and write to a new file?
G'day taha95,
Welcome to the Monastery.
This is very difficult to read. Whatever the original file format was is lost because it's all posted as plain text. In short, put all code and data within <code>...</code> tags. That way we can both see the format, and download a verbatin copy, for testing and analysing your problems. See "How do I post a question effectively?" for more about this.
I'd first recommend reading "perlintro - Perl introduction for beginners". This will give you the basics of for, if, variables and I/O. Follow the links in each section, to more in-depth information, as required.
— Ken
|
|---|