in reply to Re: reference to an undefined key
in thread reference to an undefined key
You can't access attributes of an object before the object is created.Yes, I know why my example won't work... but I am juz looking for if any work around to declare and define my object's properties in the style alike what I hope can happen.
you can create the object up-front, then access all of its attributes before returning it...That's what I know I can deal with it so far, as shown in my original post ..so sad! =(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: reference to an undefined key
by AnomalousMonk (Archbishop) on Oct 10, 2015 at 17:33 UTC | |
|
Re^3: reference to an undefined key
by stevieb (Canon) on Oct 10, 2015 at 19:55 UTC |