Re: RFC 71 (v1) Legacy Perl $pkg'var should die

2000-08-09 Thread Larry Wall

Bart Lateur writes:
: On Wed, 9 Aug 2000 08:59:41 +0100, Leon Brocard wrote:
: 
: >D'oh! ;-)
: 
: Ah, yes. Chris Nandor's module D'oh couldn't possibly be called with
: this appropriate name any more.
: 
:   
: 
: 
: OTOH, try this:
: 
:   $hash{a'b} = 1;
:   print keys %hash;
: -->
:   a::b
: 
: That shows that the current situation is not ideal, anyway.
: 
: Besides, p52p6.pl can handle the conversion.

Alternately:

use ident qr/[A-Za-z_][A-Za-z_0-9']*/;

or some such.

Larry



Re: RFC 71 (v1) Legacy Perl $pkg'var should die

2000-08-09 Thread Bart Lateur

On Wed, 9 Aug 2000 08:59:41 +0100, Leon Brocard wrote:

>D'oh! ;-)

Ah, yes. Chris Nandor's module D'oh couldn't possibly be called with
this appropriate name any more.




OTOH, try this:

$hash{a'b} = 1;
print keys %hash;
-->
a::b

That shows that the current situation is not ideal, anyway.

Besides, p52p6.pl can handle the conversion.

-- 
Bart.



Re: RFC 71 (v1) Legacy Perl $pkg'var should die

2000-08-09 Thread Leon Brocard

Damian Conway sent the following bits through the ether:

> If you take this, I won't be able to port the forthcoming Klingon.pm
> module to Perl 6!!!

D'oh! ;-)

Leon
-- 
Leon Brocard.http://www.astray.com/
yapc::Europe - September 22-24 London - http://yapc.org/Europe/

... Error 404: .signature generator ran out of tuits



Re: RFC 71 (v1) Legacy Perl $pkg'var should die

2000-08-08 Thread Steve Simmons

On Tue, Aug 08, 2000 at 10:59:40PM -0400, Dan Sugalski wrote:
> On Wed, 9 Aug 2000, Damian Conway wrote:
> 
> >> > If you take this, I won't be able to port the forthcoming Klingon.pm
> >> > module to Perl 6!!!
> >> 
> >> And this would be a bad thing how, exactly? :)
> > 
> > I SHOULD KILL YOU WHERE YOU STAND
> 
> But, but... I'm sitting! :-P

I think he means he's going to cut you off at the ankles, regardless
of their actual location.



Re: RFC 71 (v1) Legacy Perl $pkg'var should die

2000-08-08 Thread Dan Sugalski

On Wed, 9 Aug 2000, Damian Conway wrote:

>> > If you take this, I won't be able to port the forthcoming Klingon.pm
>> > module to Perl 6!!!
>> 
>> And this would be a bad thing how, exactly? :)
> 
> I SHOULD KILL YOU WHERE YOU STAND

But, but... I'm sitting! :-P

Dan




Re: RFC 71 (v1) Legacy Perl $pkg'var should die

2000-08-08 Thread Damian Conway

   > > If you take this, I won't be able to port the forthcoming Klingon.pm
   > > module to Perl 6!!!
   > 
   > And this would be a bad thing how, exactly? :)

I SHOULD KILL YOU WHERE YOU STAND

;-)

Damian



Re: RFC 71 (v1) Legacy Perl $pkg'var should die

2000-08-08 Thread Dan Sugalski

On Wed, 9 Aug 2000, Damian Conway wrote:

>> Perl used to use $pkg'var instead of the modern $pkg::var. This is still
>> in Perl 5. It's gotta go. (At least, it should.)
> 
> 
> N! 
> 
> If you take this, I won't be able to port the forthcoming Klingon.pm
> module to Perl 6!!!

And this would be a bad thing how, exactly? :)

Besides, if you can write perl in Latin, I'm sure you can manage
Klingonese...

Dan




Re: RFC 71 (v1) Legacy Perl $pkg'var should die

2000-08-08 Thread Damian Conway

   > Perl used to use $pkg'var instead of the modern $pkg::var. This is still
   > in Perl 5. It's gotta go. (At least, it should.)


N! 

If you take this, I won't be able to port the forthcoming Klingon.pm
module to Perl 6!!!

;-)

Damian



RFC 71 (v1) Legacy Perl $pkg'var should die

2000-08-08 Thread Perl6 RFC Librarian

This and other RFCs are available on the web at
  http://dev.perl.org/rfc/

=head1 TITLE

Legacy Perl $pkg'var should die

=head1 VERSION

   Maintainer: Nathan Wiger <[EMAIL PROTECTED]>
   Date: 08 Aug 2000
   Version: 1
   Mailing List: [EMAIL PROTECTED]
   Status: Developing
   Number: 71

=head1 ABSTRACT

Perl used to use $pkg'var instead of the modern $pkg::var. This is still
in Perl 5. It's gotta go. (At least, it should.)

=head1 DESCRIPTION

See above.

=head1 IMPLEMENTATION

See above.

=head1 REFERENCES

Camel-3 p. 60 reminded me of this.