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 reply to Re^4: Should I use carp/croak or warn/die
by jeffenstein
in thread Should I use carp/croak or warn/die
by SBECK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |