调用方法, 调用模块里面的方法 , 面向对象编程应用
2009/11/6 Fangyuan <[email protected]> > 遇到一行代码: > my %p = @_; > return $p{table}->name . '_t' if $p{type} eq 'table'; > 这里的->,如果是调用模块里的一个函数,经常会这样用,在这里是什么意思呢? > 我查过资料,说是反引用操作符,但没有具体的说明。 > 希望高手能解释一下,谢谢! > > > -- Yours Sincerely Zeng Hong --~--~---------~--~----~------------~-------~--~----~ 您收到此信息是由于您订阅了 Google 论坛“PerlChina Mongers 讨论组”论坛。 要在此论坛发帖,请发电子邮件到 [email protected] 要退订此论坛,请发邮件至 [email protected] 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛 -~----------~----~----~----~------~----~------~--~---
