its very clear that some part of my code is throwing "Not enough space" error message.Strictly speaking, you can't be sure, since errno is only defined to have a meaning immediately after an error. Not sometime later, or before an error occured.
You might be right that your program does indeed cause an ENOMEM error, but since you don't check $! at the right place, you're never going to be sure if and why it does.
You can fix this easily - system calls have a return code. Use it.
In reply to Re^4: Error: Not enough space
by Joost
in thread Error: Not enough space
by jhazra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |