I get "foo" and I want to get "bar". What am I doing wrong?
You're not calling _sub1 as a method. Try sub2 { shift()->_sub1; }
In reply to Re: OOP method usage
by Anonymous Monk
in thread OOP method usage
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |