develooper Front page | perl.perl6.language | Postings from February 2001

Re: a name for the currently executing sub

Thread Previous | Thread Next
From:
Peter Scott
Date:
February 5, 2001 18:02
Subject:
Re: a name for the currently executing sub
Message ID:
4.3.2.7.2.20010205175937.00adb460@psdt.com
At 06:35 PM 2/5/01 -0600, David L. Nicol wrote:

>--- warning --- bad idea follows ---

You're not kidding.

>Are we willing to let user-code use codereftagstrings abckwards yet?
>
>perl -le '$a = \(1..4); $tagstring="$a"; print @{$tagstring}'
>
>We would eliminate all strings matching /^[A-Z]\(0x[0-9a-f]+\)\z/ from
>use as variable names. I don't think that would break all that much but
>the 5->6 converter could identify ref->stringify and mung it slightly,
>maybe add a \0 at the end or something.
>
>We would gain C style casting capability, with all the evil that brings
>with it, including the ability to bittwiddle perl structures from
>within perl, which is a feature migrating C programmers miss.

This migrated C programmer misses it like intestinal flu.

Can you come up with one remotely useful example?
--
Peter Scott
Pacific Systems Design Technologies


Thread Previous | Thread Next


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