This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Croak when setting a tied @DB::args
authorFather Chrysostomos <sprout@cpan.org>
Thu, 29 Dec 2011 07:04:04 +0000 (23:04 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 29 Dec 2011 07:04:04 +0000 (23:04 -0800)
commit7355df7e69464cc1b7c5ce29234ddbcddec74500
tree3d3e154ab4467a0cd3c372e46425ae1d9976e2d0
parente77511d262dd01fc8b8b509019091193efc59239
Croak when setting a tied @DB::args

In commit f8c105437 I stopped the setting of a tied @DB::args from
crashing, by untying the array.  Untying an array automatically with-
out saying anything seems a little too much like action at a distance.
For now, let’s just croak, as we can always change it later once we
decide what should happen.  At least that’s better than crashing.
perl.c
pod/perldiag.pod
t/op/caller.t