tomazos has asked for the wisdom of the Perl Monks concerning the following question:
I was looking through the perldoc for Test::Class and came across something I hadn't seen before...
package Example::Test; use base qw(Test::Class); use Test::More; sub subtraction : Test { is( 2-1, 1, 'subtraction works ); };
What is that strange colon doing between subtraction and Test - and what is it up to?
Can someone tell me what it is called and which Perl man page documents it?
-Andrew.
Back to
Seekers of Perl Wisdom