Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clarafication/Expansion in examples of Introspection section

  • Loading branch information...
commit dd8212738d06e36dd641c16a89dc411684121b23 1 parent 432411a
@lizmat lizmat authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 S12-objects.pod
View
8 S12-objects.pod
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.