package Test::Inline; =pod =head1 NAME Test::Inline - Embed your tests in your code, next to what is being tested =head1 DESCRIPTION Embedding tests allows tests to be placed near the code being tested. This is a nice supplement to the traditional .t files. =head2 How does it work? C lets you write small fragments of general or function-specific testing code, and insert it anywhere you want in your modules, inside a specific tagged L segment, like the following. =begin testing # This code assumes we have a cpuinfo file ok( -f /proc/cpuinfo, 'Host has a standard /proc/cpuinfo file' ); =end testing =begin testing label # Test generation of the