使用Devel::Size查看变量占用内存 jedy · 2007-10-18 04:09 · Markdown 在“mastering perl”上看到一个有用的模块:Devel::Size。可以用来查看变量的大小,以后不用靠free来猜到底用了多少内存了。