in reply to Re^3: Should I use carp/croak or warn/die
in thread Should I use carp/croak or warn/die
I can only guess why Larry & Co. did it this way, and that guess would be that it was to preserve backwards-compatibility with perl 4, which already had the current interface for warn and die.
Did caller exist in perl 4? It kind of makes sense to use a different interface since modules got a lot of changes in 5.0
In Section
Seekers of Perl Wisdom