要重寫一個函式,使用 Moose 關鍵字override。
override
override 'target' => &with; ##-or- override 'target' => sub {};
Super 傳遞原始的 @_。如果你想要修改引數 (@_),請參考 around()。