[[email protected] ~]$ perl -e "print 1 if blessed $a;"
1
[[email protected] ~]$ perl -e "print 1 if blessed $c;"
1
[[email protected] ~]$ perl -e "print 1 if blessed $cee;"
1
好像總是true
,版本是5.8.8
。在Perl中有什麼好點的?
UPDATE
我沒有運行爲root
,它是由我改變了隱私的緣故:)
當你不知道它做什麼* root *時,運行代碼可能不是最好的想法! – Johnsyweb
你希望*看到什麼? –
[Perl的「祝福」究竟做了什麼?](http://stackoverflow.com/questions/392135/what-exactly-does-perls-bless-do) –