develooper Front page | perl.perl5.porters | Postings from July 2009

Re: Deprecating ' as a package separator [Another overduedeprecation]

Thread Previous
From:
Zefram
Date:
July 20, 2009 05:00
Subject:
Re: Deprecating ' as a package separator [Another overduedeprecation]
Message ID:
20090720120003.GD16130@fysh.org
Ed Avis wrote:
>Really, the use of ' as a package separator was deprecated the day perl 5 was
>released.  Does any code written in the past ten years use it, apart from
>Acme and other joke modules?

I've used it in golfing.  I've loaded classes using

	no IO'Socket'INET;

instead of

	use IO::Socket::INET;

Not quite a joke, but also not entirely serious.  I'd have no objection
to losing the feature entirely.

-zefram

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About