- publishing free software manuals
Perl Language Reference Manual
by Larry Wall and others
Paperback (6"x9"), 724 pages
ISBN 9781906966027
RRP £29.95 ($39.95)

Sales of this book support The Perl Foundation! Get a printed copy>>>

PERL_MEM_LOG

If your perl was configured with -Accflags=-DPERL_MEM_LOG, setting the environment variable PERL_MEMLOG enables logging debug messages. The value has the form <number>[m][s][t], where number is the filedescriptor number you want to write to, and the combination of letters specifies that you want information about (m)emory and/or (s)v, optionally with (t)imestamps. For example PERL_MEMLOG=1mst will log all information to stdout. You can write to other opened filedescriptors too, in a variety of ways;

bash$ 3>foo3 PERL_MEM_LOG=3m perl ...
ISBN 9781906966027Perl Language Reference ManualSee the print edition