tomazos has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Colon Operator/Seperator
by Zaxo (Archbishop) on Oct 06, 2005 at 20:06 UTC | |
|
Re: Colon Operator/Seperator
by runrig (Abbot) on Oct 06, 2005 at 20:02 UTC | |
by kwaping (Priest) on Oct 06, 2005 at 22:36 UTC |