SPUG: Sub Attributes

Parr, Ryan Ryan.Parr at wwireless.com
Fri May 3 12:37:12 CDT 2002


Could anyone here let me in on what these attributes are and how to use
them? The perlsub and attributes man pages unfortunately are not as
informative as I'd require them to be.

i.e.

sub getTest {
	print STDERR "getTest() received: ",shift,"\n";
}

sub doTest : getTest {
	print "doTest() received: ",shift,"\n";
}

does not work.getTest is an invalid code reference...

Ryan Parr

Common sense is the collection of prejudices acquired by age eighteen.
		-- Albert Einstein

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/archives/spug-list/attachments/20020503/fcde4529/attachment.htm


More information about the spug-list mailing list