Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Nice post. Just so you know, $x.$meth(...) is fine if $meth is actually a code reference rather than a method name. If you have a name, then you always need the quotes and to interpolate it. If you'd somehow got hold of a method itself (for example through .WALK or by introspection) then you could use the $x.$meth form though. They're distinguished syntactically (quote vs variable). So the error was just telling you that a string isn't something that can be invoked.

    Hope this helps!

    Jonathan