newkij1 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
Let say I call a subroutine inside a script as
callingsubroutine();
**************************************
and subroutine is defined as
sub callingsubroutine
{
Something...
exit -1
}
My Question: What's the meaning of exit -1 here ?
Thanks :D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: "Subroutine basics" What does -1 mean ?
by toolic (Bishop) on May 29, 2014 at 15:00 UTC | |
by Laurent_R (Canon) on May 29, 2014 at 15:26 UTC | |
|
Re: "Subroutine basics" What does -1 mean ? (not subroutine)
by LanX (Saint) on May 29, 2014 at 15:04 UTC | |
|
Re: "Subroutine basics" What does -1 mean ?
by Corion (Patriarch) on May 29, 2014 at 15:01 UTC | |
|
Re: "Subroutine basics" What does -1 mean ?
by jeffa (Bishop) on May 29, 2014 at 15:28 UTC | |
by mr_mischief (Monsignor) on May 29, 2014 at 20:27 UTC | |
|
Re: "Subroutine basics" What does -1 mean ?
by Anonymous Monk on May 29, 2014 at 22:04 UTC |