When you do the following...
...you are reading the entire file into memory.undef $/; $a = <E>;
Try to break the task into smaller pieces. Without knowing what auburn_courses.txt or auburn_courses2.txt contain it's going to be tricky to give specific advice.
In reply to Re: Running out of memory...
by vek
in thread Running out of memory...
by knewter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |