in reply to OOP method usage
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; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: OOP method usage
by Anonymous Monk on Jul 07, 2012 at 09:32 UTC | |
by Athanasius (Archbishop) on Jul 07, 2012 at 09:56 UTC |