Jm lists wrote: > hello,lists, Hello,
> When I said: > > die "usage: $0 pub|del"; > > I got this output: > > usage: xxx.pl pub|del at xxx.pl line 20. > > Then when I said: > > die "usage: $0 pub|del\n"; > > Only the "\n" was added.The output became: > > usage: xxx.pl pub|del > > It lost the words of "at xxx.pl line 20.". > > Why is this?Thank you. That is the documented behaviour for die. perldoc -f die John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
