in reply to Re^3: Function name in a variable, can't recall the concept
in thread Function name in a variable, can't recall the concept
I would like to call it a method too but where is the reference to the main class/package "object" as the first parameter when calling asub() (a-la $obj->asub() which sends $obj as the first parameter)? Also, I would like to call it a "static method" but this: main::$x() does not work. Too many exceptions! (Edit: could n't resist the pun of too many anomalies :) )
bw, bliako
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Function name in a variable, can't recall the concept (updated x2)
by AnomalousMonk (Archbishop) on Apr 03, 2019 at 18:51 UTC | |
|
Re^5: Function name in a variable, can't recall the concept
by shmem (Chancellor) on Apr 13, 2019 at 21:59 UTC | |
by bliako (Abbot) on Apr 14, 2019 at 08:46 UTC |