Think about Loose Coupling | |
PerlMonks |
Re: How use $^M?by Discipulus (Canon) |
on Apr 05, 2021 at 16:17 UTC ( [id://11130850]=note: print w/replies, xml ) | Need Help?? |
Hello xiaoyafeng, iirc $^M is a leftover or similar. It worked only if perl is built to use its own malloc instead of the system one (see comments in malloc.c). UPDATE Perl's malloc is used only if -Dusemymalloc is used when building perl. See also: Is $^M a leftover April Fool? L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|