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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Should I use carp/croak or warn/die
by afoken (Chancellor) on May 30, 2018 at 21:52 UTC | |
Re^5: Should I use carp/croak or warn/die (perl4)
by shmem (Chancellor) on May 31, 2018 at 00:04 UTC |