You can't just print the hash. You'll need to iterate through its keys, and print out each key and its associated value.
Also, reread print for the proper syntax for writting to a file handle.
In reply to Re^3: Writing a hash of two variables to a file
by ikegami
in thread Writing a hash of two variables to a file
by Resin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |