in reply to Re^2: Handling errors on perl
in thread Handling errors on perl

Put a newline \n at the end of your warn text.

It's described in the second phrase of the documentation.

"If the last element of LIST does not end in a newline, it appends the same file/line number text as die does."

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice