On Oct 23, Joe Echavarria said:

>  What is the diference when you write a subroutine
>and you type 

Well, exit() doesn't return from a subroutine -- it stops the program.  So
long as you know that...

The exit() function returns the status of your program upon ending -- a
successful program exits with a status of 0, and any non-0 value is taken
to indicate an error of some sort.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to