Do you mean that you don't want the line number and file evealed?

Llama said,

If you don't want the line number and file revealed,
make sure that the dying words have a newline on the end.
That is, another way you could use die is in a line like this,
with a trailing newline:

die "Not enough arguments\n" if @ARGV < 2;

If there aren't at least two command-line arguments,
that program will say so and quit.
It won't include the program name and line number.


On 10/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi!
>
> When die is used, there is message something like:
>
> x doesn't exist as an environment variable
> Died at lsh.pl line 510, <STDIN> line 6.
> Childprocess complete
>
> I just want the current process to die without giving any output to
> screen, something like this:
>
> x doesn't exist as an environment variable
> Childprocess complete
>
> Is there any substitue for the die-command to achieve this?
>
> /G
> @varupiraten.se
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to