There's not much more to show short of the example from the documentation. $^M isn't for general control over use of memory; it's a specific place you can pre-allocate a buffer to be used formatting error messages in the case that your process hits a memory limit (and hence couldn't request more memory from the OS at that point in time). Think of it like pulling a sheet of paper out of the ream and setting it in a safe place next to the copier so you have someplace to write a "Copier out of paper" sign when you run out.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: How use $^M?
by Fletch
in thread How use $^M?
by xiaoyafeng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |