Task::BeLike::KWAKWA - Be more like KWAKWA!
# search Perl related files (.pl, .pm, .t)
$ ack --perl foo
# search Perl files except .t
$ echo "--type-add=plpm=.pl,.pm" >> ~/.ackrc
$ ack --plpm foo
Module::Version for mversion
$ mversion Mojolicious
7.61
my $dt = DateTime::Format::ISO8601->parse_datetime('2018-01-01T00:00:00Z');
Install Term::ReadLine::Gnu. You'll likely need libreadline-dev
or
readline-devel
to have actual readline support.
# ~/.replyrc
script_line1 = use strict
script_line2 = use warnings
script_line3 = use 5.024000
[Interrupt]
[FancyPrompt]
[DataDumper]
[Colors]
[ReadLine]
[Hints]
[Packages]
[LexicalPersistence]
[ResultCache]
[Autocomplete::Packages]
[Autocomplete::Lexicals]
[Autocomplete::Functions]
[Autocomplete::Globals]
[Autocomplete::Methods]
[Autocomplete::Commands]
File::chdir more sensible way to change directories
Testing is hard to get right. Consider when writing tests which category the test falls under and test and organise appropriately. Typically they can be categorized as integration tests (how major parts of a system work together), unit tests (exercising modules), functional/user acceptance tests (use case scenarios, BDD).
Avoid using if
statements. If your tests have branches, your tests need
tests.
Test::Mojo can be used to test Dancer2 apps too.
Paul Williams kwakwa@cpan.org
Copyright 2018- Paul Williams
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.