# New Ticket Created by  Tim Nelson 
# Please include the string:  [perl #68202]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=68202 >


[18:01] <wayland76> rakudo:
        my @lines = ('Target: i386-redhat-linux');
        for @lines {
                /^(\w+)\:(.*)/ and do {
                        say $/[0]
                };
        }
[18:01] <p6eval> rakudo 24b26a: OUTPUT«Method 'postcircumfix:[ ]' not found 
for invocant of class 'Failure'â?¤Â


        I've pasted this in from IRC, and reformatted the whitespace so that 
it looks better.

        If you use a variable instead of defaulting to $_ it works.  But the 
code above fails with that error, whereas I'd expect it not to be getting a 
Failure inside the conditional.

        HTH,

        :)

---------------------------------------------------------------------
| Name: Tim Nelson                 | Because the Creator is,        |
| E-mail: wayl...@wayland.id.au    | I am                           |
---------------------------------------------------------------------

----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----

Reply via email to