develooper Front page | perl.perl5.porters | Postings from July 2013

[perl #118923] [PATCH] Add some edge cases to join.t test

Thread Next
Tony Cook via RT
July 17, 2013 01:30
[perl #118923] [PATCH] Add some edge cases to join.t test
Message ID:
On Tue Jul 16 09:59:05 2013, vsespb wrote:
> Add some edge cases to join.t test
> test what join return if called with empty LIST, also
> test that it produce warning if separator is unde
> branch more_join_tests

I've attached a format-patch version of the change.

The only questionable part to me is testing that:

   join(undef, ())

warns, a future author might consider it a constraint they need to match
in changes to join() rather than as an accident of implementation.

That said, I'll commit it in a few days as is, unless someone objects.


via perlbug:  queue: perl5 status: new

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About