Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clarafication/Expansion in examples of Introspection section
  • Loading branch information
lizmat committed Apr 28, 2013
1 parent 432411a commit dd82127
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions S12-objects.pod
Expand Up @@ -2290,12 +2290,16 @@ These are all actually macros, not true operators or methods. If you get
a foreign object from another language and need to call its C<.WHERE> method,
you can say:

$obj."WHERE"
$obj."WHERE"()

And if you don't know the method name in advance, you'd be using the
variable form anyway:

$obj.$somemeth
$obj."$methodname"()

or:

$obj.$methodobject

which also bypasses the macros.

Expand Down

0 comments on commit dd82127

Please sign in to comment.