This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Treat require ::foo::bar; the same as foo::bar;
authorNicholas Clark <nick@ccl4.org>
Thu, 28 Jun 2012 20:35:20 +0000 (22:35 +0200)
committerDavid Mitchell <davem@iabyn.com>
Tue, 10 May 2016 09:32:55 +0000 (10:32 +0100)
commit614273add497cd4fbed447fdad84ef323b226b18
tree746a3ea06d5b7f6133695eb605e1d05ce57b1985
parent9cdec1363fe2fdf6139eb2e9c013baeb2d0e0c29
Treat require ::foo::bar; the same as  foo::bar;

[ This is cherry-picked from a branch Nicholas wrote 4 years ago, but
which was never merged. In the meantime it was agreed that 'require
::foo' should die instead of doing 'require foo'; but I've pulled it in
anyway as an interim commit, to make later cherry-picks easier. The die
will come in a later commit.
]
op.c
t/comp/require.t
t/op/require_errors.t