develooper Front page | perl.perl6.compiler | Postings from June 2010

[perl #76056] [BUG] unhelpful message triggered by a p5-ism

From:
Stephane Payrard
Date:
June 25, 2010 05:45
Subject:
[perl #76056] [BUG] unhelpful message triggered by a p5-ism
Message ID:
rt-3.6.HEAD-4976-1277395964-1382.76056-82-0@perl.org
# New Ticket Created by  Stephane Payrard 
# Please include the string:  [perl #76056]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76056 >


> for 0 {  when ARRAY {} }
Missing block at line 1, near "}\n"

The problem : ARRAY is an undefined function.
The message is unhelpful.
Also brain muscles makes type ARRAY for Array pretty easy.


-- 
cognominal stef



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