The second and third examples test a post office protocol (POP3) client available from CPAN. These two unit tests for Mail::POP3Client indicate some design issues, which are addressed in the Refactoring chapter. The third example also demonstrates how to use Test::MockObject, a CPAN module that makes it easy to test those tricky paths through the code, such as, error cases.
- Zrajm C Akfohg
In this article I've collected the best practices of TDD (Test Driven development) that help me in my work. I brought them together for the future reference, updates, sharing and discussion.
- Zrajm C Akfohg
Perl's extremely flexible syntax makes it easy to write code that is harder to read and maintain than it could be. This article describes some very basic practices I consider necessary for a clear and concise style of writing Perl.
- Zrajm C Akfohg
One day in March, staff at the Scottish Poetry Library came across a wonderful creation, left anonymously on a table in the library. Carved from paper, mounted on a book and with a tag addressed to @byleaveswelive – the library’s Twitter account.
- Zrajm C Akfohg
Unofficial backup and export for Simplenote. Talks to their API on behalf of users and exports notes into standard formats. Hosted on Google App Engine. Unless you want to run your own custom modification, it does not require installation.
- Zrajm C Akfohg
simplenote.py is a simple wrapper around the simplenoteapp.com web service. It provides the Simplenote object, with a set of convenience methods to interact with the service.
- Zrajm C Akfohg
After specifying a folder to store local text files, and the email address and password associated with your Simplenote account, SimplenoteSync will attempt to synchronize the information in both places.
- Zrajm C Akfohg