« Git: Checkout remote branch | Home | 自助餐插曲 »
下午連續喝了三杯之前在菡萏買的 Espresso 綜合豆,雖然有點小過期,帶點雜味,但是仍然是酸勁十足。
結論:動態語言果然好玩。
之前在寫 Markapl 的時候,曾經需要解這這個問題:
執行以下這段程式時:
eval 'my @attr = ($x, $y)';
如何使其中 $x 與 $y 的的值,參照到 caller 之中的同名變數。
$x
$y
閱讀全文 (link to chupei.pm.org)
TrackBack URL: http://gugod.org/mt/mt-tb.cgi/178
This page contains a single entry by gugod published on December 29, 2008 4:22 AM.
Git: Checkout remote branch was the previous entry in this blog.
自助餐插曲 is the next entry in this blog.
Find recent content on the main index or look in the archives to find all content.
Leave a comment