Contributing to Method::Signatures

schwern on 2008-10-17T00:54:35

I'm a bit worn out on Method::Signatures for the moment. I want to let things gel a bit, see if Devel::Declare can solve the debugger problem.

Meanwhile, I'm getting lots of feedback from people about features they'd like to see, bugs they've found, etc... The bestest way to contribute to Method::Signatures right now is to write TODO tests. Here's an example, Method::Sigantures currently chokes when there's a comma in the default value because the signature parser just splits on commas.

{
    package Bar;
    use Test::More;
    use Method::Signatures;

TODO: { local $TODO = "Cannot handle a default with a comma in it";

ok eval q{ method hello($msg = "Hello, world!") { return $msg; }

is( Bar->hello, "Hello, word!" ); is( Bar->hello("Greetings!"), "Greetings!" ); }; is $@, ''; } }


You can mail these to me, or use RT, but the best way to submit them is using the Method-Signatures repository on Github. Fork your own copy of the project via github (which is not as radical as it sounds, its like getting your own branch), make your edits, then make a pull request and I'll integrate it in.

This is about as close to my ideal repository management system as I've yet seen.