Re: 0; and 1;

2005-07-16 Thread Wiggins d'Anconia
"Because it's up-side down. Why is that? It makes replies harder to read. Why not? Please don't top-post." - Sherm Pendley, Mac OS X list [EMAIL PROTECTED] wrote: > Hi , > > I have executed a Perl script from csh[c shell ] and saw that exit > is for shell from where it is invoked . > Exit 100;

RE: 0; and 1;

2005-07-14 Thread arjun.mallik
Hi , I have executed a Perl script from csh[c shell ] and saw that exit is for shell from where it is invoked . Exit 100; at the end is captured by shell. Exit value can be up to 127. But I couldn't get what is ; Stands for. Any one can help here ... please Thanks in advance Arjun Des

Re: 0; and 1;

2005-07-14 Thread Adriano Ferreira
On 7/14/05, Beast <[EMAIL PROTECTED]> wrote: > > I coudn't find any reference (yet) the meaning of 0; or 1; in the end of > perl program. In the examples in "perldoc perlmod" you will find 1; # don't forget to return a true value from the file This is needed when you do a 'require' over a Per

Re: 0; and 1;

2005-07-13 Thread Chris Devers
On Thu, 14 Jul 2005, Beast wrote: > I coudn't find any reference (yet) the meaning of 0; or 1; in the end > of perl program. In the absense of an explicit return statement, a block of Perl code will return the value of the last statement to any calling code. For an ordinary script, this doesn'