J
jemptymethod
The perldoc for die says: "If the last element of LIST does not end in
a newline, the current script line number and input line number (if
any) are also printed, and a newline is supplied." Is there a way,
besides appending the newline and a subsequent "chomp($@)", to suppress
this behavior? For instance such as locally re-declaring a special
variable in the same block with die. I have tracked down the docs for
every special variable mentioned in the docs for die, and none of them
seem appropriate (I have also tried to google for "chomp $@" but google
suppresses the special variable so I get far too many results).
TIA
a newline, the current script line number and input line number (if
any) are also printed, and a newline is supplied." Is there a way,
besides appending the newline and a subsequent "chomp($@)", to suppress
this behavior? For instance such as locally re-declaring a special
variable in the same block with die. I have tracked down the docs for
every special variable mentioned in the docs for die, and none of them
seem appropriate (I have also tried to google for "chomp $@" but google
suppresses the special variable so I get far too many results).
TIA