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
In reply to Re^4: Function name in a variable, can't recall the concept
by bliako
in thread Function name in a variable, can't recall the concept
by mpersico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |