Croak if gv_init doesn't know how to create a typeglob from that type
authorNicholas Clark <nick@ccl4.org>
Tue, 20 Dec 2005 15:11:09 +0000 (15:11 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 20 Dec 2005 15:11:09 +0000 (15:11 +0000)
commit5c1f4d79697c25c445705da5672c3103505b0d08
treedad02e6a92cbd1af611aaaa38e926fdf0c803850
parentfa75652c1970cc67d47b9b046e2e323ec6b13df9
Croak if gv_init doesn't know how to create a typeglob from that type
of referant. Test that ARRAY, HASH, PVIO, CODE and FORMAT croak.
Globs are actually first class assignable objects, so test that you
can create a constant subroutine that returns one.

p4raw-id: //depot/perl@26422
gv.c
pod/perldiag.pod
t/op/gv.t