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)