summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorRobin Houston <robin@cpan.org>2001-07-10 14:33:40 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-10 13:45:12 +0000
commitf2c0fa378e55ca42d398c29e02f5dc2fd742d1dc (patch)
treef730cee0155cdee2df432a1555b03eae220f1220 /op.c
parent3c01495985c7c4b8f1b95ec88b49209869fdb517 (diff)
downloadperl-f2c0fa378e55ca42d398c29e02f5dc2fd742d1dc.tar.gz
deprecate package with no arguments
Message-ID: <20010710133340.A13452@robin.kitsite.com> p4raw-id: //depot/perl@11256
Diffstat (limited to 'op.c')
-rw-r--r--op.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/op.c b/op.c
index 1790fd685e..baa62fb927 100644
--- a/op.c
+++ b/op.c
@@ -3197,6 +3197,7 @@ Perl_package(pTHX_ OP *o)
op_free(o);
}
else {
+ deprecate("\"package\" with no arguments");
sv_setpv(PL_curstname,"<none>");
PL_curstash = Nullhv;
}