On 30 January 2007 14:33, Andrew Louie wrote: >>> Thanks for the info. It's interesting to know. What I still don't get, >>> however, is the fact that the same statement does not waste memory on >>> the x86 Linux Perl 5.8.5, but does on the x86 Cygwin Perl 5.8.7 and the >>> x86_64 Linux 5.8.8. So it has been introduced only in later versions? >>> And why is it defended? It doesn't seem to make sense, rather on the >>> contrary. > > This question is slightly offtopic, but I am interested in tracking > how much memory my > perl scripts use, can someone tell me how i could do that? > > i tried: > $strace script.pl > strace: error creating process script.pl, (error 193) >
strace isn't a shell, so it doesn't process shebang lines. Try "strace perl script.pl" cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/