Hello Monks
I am looking over some code from a project I inherited. I am a little confused with a certain code block. Its OO and in a certain function the following simple line is written
$self->do_it("99")Now, in my limited perl experience I thought that this line would call a class method called "do_it", passing it $self as the first argument and "99" as the second. However, there is no mention of said method anywhere in the code (or on the system as a recursive grep shows)
With this in mind; am I missing something obvious? Is this line doing something different than what I am expecting?
In reply to $self->do_it("now") question by packetstormer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |