Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

[perl #3314] *x{IO} bizarre copying

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


perlbug-followup at perl

May 19, 2008, 8:11 PM

Post #1 of 2 (116 views)
Permalink
[perl #3314] *x{IO} bizarre copying

On Thu Jun 01 23:43:29 2000, simon[at]deep-dark-truthful-mirror.perlhacker.org wrote:
>
> This is a bug report for perl from simon[at]brecon.co.uk (Simon Cozens),
> generated with the help of perlbug 1.28 running under perl v5.6.0.
>
>
> -----------------------------------------------------------------
> [Please enter your report here]
>
> Noted by Arnar Hrafnkelsonn:
> % perl -e 'open(A, "/dev/null"); $bizarre = ${*A{IO}}'
> Bizarre copy of UNKNOWN in sassign at -e line 1.
>
> I'll look into this soon. But, man, that's weird.
>
>
In Perl 5.10, we get a new error message.

[steve[at]kirk ~]$ perl -e 'open(A, "/dev/null"); $bizarre = ${*A{IO}}'
Not a SCALAR reference at -e line 1.


steve at fisharerojo

May 21, 2008, 7:01 AM

Post #2 of 2 (89 views)
Permalink
Re: [perl #3314] *x{IO} bizarre copying [In reply to]

On Mon, May 19, 2008 at 10:11 PM, Steve Peters via RT
<perlbug-followup[at]perl.org> wrote:
> On Thu Jun 01 23:43:29 2000, simon[at]deep-dark-truthful-mirror.perlhacker.org wrote:
>>
>> This is a bug report for perl from simon[at]brecon.co.uk (Simon Cozens),
>> generated with the help of perlbug 1.28 running under perl v5.6.0.
>>
>>
>> -----------------------------------------------------------------
>> [Please enter your report here]
>>
>> Noted by Arnar Hrafnkelsonn:
>> % perl -e 'open(A, "/dev/null"); $bizarre = ${*A{IO}}'
>> Bizarre copy of UNKNOWN in sassign at -e line 1.
>>
>> I'll look into this soon. But, man, that's weird.
>>
>>
> In Perl 5.10, we get a new error message.
>
> [steve[at]kirk ~]$ perl -e 'open(A, "/dev/null"); $bizarre = ${*A{IO}}'
> Not a SCALAR reference at -e line 1.
>
>

Well, the changed error in Perl 5.10 seems to be planned. It was
fixed in change #27179.

It has been added to Perl 5.10, but I would guess that the change is
minor enough for Perl 5.8. Any objections?

Steve Peters
steve[at]fisharerojo.org

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.