print $out sort keys %old;
Try that. As is, this would print all keys concatenated together as one string. That's fine if each key has a trailing record separator attached.
In reply to Re^5: Writing to File based on condition
by shmem
in thread Writing to File based on condition
by cbtshare
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |