Brent Dax self-deprecated:
So, the love of my life is:
Function call found where operator expected at - line 1, near
""dark & "handsome"
That figures, actually, considering my social life...
Thanks. Would the hypothetical example collector please archive the
corrected version instead:
$requirements = "tall" & "dark" & "handsome"
| "old" & "rich"
| "Australian";
for <> -> $candidate {
my $traits = any( split /<ws>/, $candidate );
print "True love: $candidate\n"
if $requirements eq $traits;
}
Damian