Questions of the Week


1. What does this subroutine do? what is its return value? 
   Why might you find it useful?

	sub testcontext {
		if ( wantarray() ) {
			print "List Context\n";
		} 
		else {
			print "Scalar Context\n";
		}
	}

Questions about the question? Send mail to Robert Katz: katz@cis.highline.ctc.edu
Last Update January 27, 2000