in reply to Re^6: memory use array vs ref to array
in thread memory use array vs ref to array
I'm not sure where this mem comes from.
BTW. I missed/ignored that at first reading. mem() is a function defined in my REPL:
sub mem{ `tasklist /nh /fi "PID eq $$"` =~ m[(\S+ K)$] }
And tasklist is a system utility, which with the above parameters produces:
C:\test>\Perl22\bin\p1 [0]{} Perl> print `tasklist /nh /fi "PID eq $$"`;; perl.exe 2524 Console 1 +9,384 K
And without the /n{o}h{eader} switch gives:
[0]{} Perl> print `tasklist /fi "PID eq $$"`;; Image Name PID Session Name Session# Me +m Usage ========================= ======== ================ =========== ===== +======= perl.exe 2524 Console 1 +9,428 K
|
|---|