Re: Draft RFC: new pragma: Cuse namespace

2000-10-02 Thread David L. Nicol
Graham Barr wrote: I would suggest that anyone want to contribute to this discussion should first read the thread about the addition of this pragma to perl5 in the perl5-porters archives

Re: Draft RFC: new pragma: Cuse namespace

2000-09-14 Thread Graham Barr
I would suggest that anyone want to contribute to this discussion should first read the thread about the addition of this pragma to perl5 in the perl5-porters archives http://www.xray.mpe.mpg.de/cgi-bin/w3glimpse/perl5-porters?query=use+namespace+pragmaerrors=0case=onmaxfiles=100maxlines=30

Re: Draft RFC: new pragma: Cuse namespace

2000-09-14 Thread Piers Cawley
Graham Barr [EMAIL PROTECTED] writes: I would suggest that anyone want to contribute to this discussion should first read the thread about the addition of this pragma to perl5 in the perl5-porters archives

Re: Draft RFC: new pragma: Cuse namespace

2000-09-14 Thread Nathan Wiger
Nathan Wiger wrote: use namespace 'Big::Long::Prefix'; my ::Class $object = ::Class-new; Assuming repairing :: precedence is a reality I don't think this proposal buys us anything. backtracking...That being said, I'm not necessarily against it. I'm just against bloat. I hadn't

Re: Draft RFC: new pragma: Cuse namespace

2000-09-13 Thread Hildo Biersma
Piers Cawley wrote: =head1 ABSTRACT Cmy Big::Long::Prefix::Class $object = Big::Long::Prefix::Class-Egtnew is a pain in the bum to type. We should replace this with use namespace 'Big::Long::Prefix'; my ::Class $object = ::Class-new; This is a bit dangerous, since we can get

Re: Draft RFC: new pragma: Cuse namespace

2000-09-13 Thread Piers Cawley
Hildo Biersma [EMAIL PROTECTED] writes: Piers Cawley wrote: =head1 ABSTRACT Cmy Big::Long::Prefix::Class $object = Big::Long::Prefix::Class-Egtnew is a pain in the bum to type. We should replace this with use namespace 'Big::Long::Prefix'; my ::Class $object =

Re: Draft RFC: new pragma: Cuse namespace

2000-09-13 Thread Hildo Biersma
Piers Cawley wrote: This is a bit dangerous, since we can get into ambiguities again. If I have A::B::C::Foo, A::B::C::Bar, X::Y::Z::Foo and X::Y::Z::Bar, I'd like to use shorthands for A::B::C's Foo and X::Y::Z's Bar at the same time. Well you can't. The patch that I pinched this

Re: Draft RFC: new pragma: Cuse namespace

2000-09-13 Thread Dave Storrs
On 13 Sep 2000, Piers Cawley wrote: Hildo Biersma [EMAIL PROTECTED] writes: Piers Cawley wrote: I'd like to use shorthands for A::B::C's Foo and X::Y::Z's Bar at the same time. Well you can't. The patch that I pinched this RFC from is a lexically How about if we added a

Re: Draft RFC: new pragma: Cuse namespace

2000-09-13 Thread Dave Storrs
Scuse me...I just realized that I missed an edit in my previous post. The [1] that you see was intended to be a footnote talking about the possibility of conflicting namespace aliases. When I expanded that into the final couple paragraphs, I forgot to take out the [1]. Sorry for the

Re: Draft RFC: new pragma: Cuse namespace

2000-09-13 Thread Nathan Wiger
use namespace 'Big::Long::Prefix'; my ::Class $object = ::Class-new; Anyone mentioned that this: $SHORT = 'Some::Huge::Obnoxious::Ridiculous::Term'; $SHORT-member; $stuff = new $SHORT; Already works? The only problem is that this: $SHORT::stuff(@args); Doesn't, but this