in reply to I'm trying to print the contents of a hash to newly created files
If you want multiple files shouldnt the open/close be inside the foreach loop?
And my $filename = "'$id'"; is going to try to open a file with single quotes in its name, i kinda doubt you want that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: I'm trying to print the contents of a hash to newly created files
by Peter Keystrokes (Beadle) on May 08, 2017 at 18:22 UTC |