#!/usr/bin/perl6 use v6; my $var="Does this work"; say $var; for $var.split(' ') -> $word { if $word eq 'work' { say "end of string"; }else {say "getting there..."; } }
In reply to Re: Perl6, latest Rakudo bug or error on my part?
by fod
in thread SOLVED: Perl6, latest Rakudo bug or error on my part?
by Utilitarian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |