Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Henk van Oers
[...] From 2005, but still a fantastic primer on testing in Perl. Sorry Tom. I think you must read a book about OO. Unsubscribing from this list now, Regards, Henk

Re: Object Introspection for Existence of Methods: How?

2015-03-22 Thread Henk van Oers
On Sun, 22 Mar 2015, Tom Browder wrote: On Sun, Mar 22, 2015 at 7:13 PM, Henk van Oers wrote: On Sun, 22 Mar 2015, Tom Browder wrote: I'm trying to write a test. To test what? Your own typo's? The tests are for a public Perl 6 module translated from an existing Perl 5 module.

Re: Object Introspection for Existence of Methods: How?

2015-03-22 Thread Henk van Oers
On Sun, 22 Mar 2015, Tom Browder wrote: On Sun, Mar 22, 2015 at 6:22 PM, Henk van Oers wrote: On Sun, 22 Mar 2015, Tom Browder wrote: On Fri, Mar 20, 2015 at 2:02 PM, Tom Browder wrote: On Mar 20, 2015 1:51 PM, "Tobias Leich" wrote: if $obj.^can($method_name) {... That doesn

Re: Object Introspection for Existence of Methods: How?

2015-03-22 Thread Henk van Oers
On Sun, 22 Mar 2015, Tom Browder wrote: On Fri, Mar 20, 2015 at 2:02 PM, Tom Browder wrote: On Mar 20, 2015 1:51 PM, "Tobias Leich" wrote: if $obj.^can($method_name) {... That doesn't seem to work with private methods. Any trick to accomplish that? What part of 'private' did you mis? I

Re: Perl as a better web language ?

2008-12-11 Thread Henk van Oers
On Thu, 11 Dec 2008, Brandon S. Allbery KF8NH wrote: On 2008 Dec 11, at 23:55, howard chen wrote: Hello, I love perl for its rich set of modules but PHP is a better template language for web developments. Wouldn't it be great to see if Perl6 support it? It can be done as a library, take a l