in reply to syntax error checking on object methods
my $obj = some_func($some_arg); $obj->method();
It won't be easy to figure out what class to inspect for method(). The class of $obj may depend on $some_arg, which itself might come from some obscure source. Since Perl is a late-binding language intuiting the class for any given variable in the general case is going to be very hard.
-sam
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: syntax error checking on object methods
by Fletch (Bishop) on Nov 01, 2004 at 04:26 UTC | |
by eXile (Priest) on Nov 01, 2004 at 05:51 UTC |