=head1 TITLE

new pragma: C<use package>

=head1 VERSION

    Maintainer: Piers Cawley <[EMAIL PROTECTED]>
    Date: 12th September 2000
    Last Modified: 12th September 2000
    Mailing List: [EMAIL PROTECTED]
    Version: 0
    Status: Draft

=head1 ABSTRACT

C<my Big::Long::Prefix::Class $object = Big::Long::Prefix::Class-E<gt>new>
is a pain in the bum to type. We should replace this with 

    use namespace 'Big::Long::Prefix';
    my ::Class $object = ::Class->new;

=head1 DESCRIPTION

There's not that much I can add to the Abstract at the moment, beyond
pointing you all at the p5p thread where I lifted the idea from.

=head1 IMPLEMENTATION

Check out the p5p discussions on C<use namespace>. There's already a
patch against the current perl 5 code to do this.


=head1 REFERENCES

The p5p thread 'RFE: use namespace Foo::Blarg', starting with Alan
Burlison (originator of the idea)'s message
<[EMAIL PROTECTED]>.

The p5p thread 
'[PATCH perl-current] 'use namespace' requires testing', starting
at message <[EMAIL PROTECTED]>, again from Alan Burlison
which looks at the actual patch.

RFC 171: my Dog $spot should call a constructor implicitly

I believe that the issues brought up in RFC 171 are addressed equally
effectively by this RFC, leaving the way clear for my other RFC
suggesting that we leave C<my Dog $spot> pretty much alone.

-- 
Piers

Reply via email to