Rob Richardson <mailto:[EMAIL PROTECTED]> wrote:
: Greetings! : : I'm curious about the Graeme's _init() method, reproducted below: : : sub _init { : my $self = shift; : die $self->site(); : } : : What is "die" used for? I thought that the effect of "die" : was to end the process. That's not the effect here, though. : What is it doing here? We were just testing. Trying to end the program and return the desired result. Assuming the test was successful, the 'die' statement would be substituted with the actual code (which hasn't been written yet). HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>