Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Template-Mustache CPAN distribution.

Report information
The Basics
Id:
105037
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
SREZIC [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
v0.5.1
Fixed in:
(no value)



Subject: Warning: length() used on @lineCount
While running the test suite, there are some warnings about using length() instead of scalar(): Running make test PERL_DL_NONLAZY=1 "/bbbike/perl-5.22.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/001_spec_compatibility.t ............................ ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/lambdas_receive_render_helper.t ..................... ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/parse_errors.t ...................................... ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/read_data_from_classes.t ............................ ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/read_data_from_hashes.t ............................. ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/read_data_from_instances.t .......................... ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/read_data_from_subclass.t ........................... ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/read_partials_from_file_system.t .................... ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/read_partials_from_hashes.t ......................... ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/read_partials_from_partial_method.t ................. ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/read_partials_from_subs.t ........................... ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/read_templates_from_file_system.t ................... ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/read_templates_from_file_system_with_namespacing.t .. ok length() used on @lineCount (did you mean "scalar(@lineCount)"?) at /tmpfs/.cpan-build/Template-Mustache-v0.5.1-pKF2f0/blib/lib/Template/Mustache.pm line 89. t/read_templates_from_subclass.t ...................... ok All tests successful. Files=14, Tests=113, 1 wallclock secs ( 0.03 usr 0.06 sys + 0.98 cusr 0.25 csys = 1.32 CPU) Result: PASS (/usr/bin/make test exited with 0)
What a surprise to learn that I have co-maint on this! And then to see that I have commits I wrote for it only a few months ago! I will sort all this out and make a new release, thank you very much. -- rjbs
Subject: Re: [rt.cpan.org #105037] Warning: length() used on @lineCount
Date: Fri, 12 Jun 2015 12:27:47 -0400
To: bug-Template-Mustache@rt.cpan.org
From: Yanick Champoux <yanick@babyl.dyndns.org>
On 2015-06-12 12:12 PM, Ricardo Signes via RT wrote:
Show quoted text
> Queue: Template-Mustache > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=105037 > > > What a surprise to learn that I have co-maint on this! > > And then to see that I have commits I wrote for it only a few months ago! > > I will sort all this out and make a new release, thank you very much.
I had the same surprise a day before leaving for YAPC, but I see you beat me on acting on it. Excellent. ==b ^.^ `/anick
v0.5.2 released -- rjbs


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.