in reply to Re^3: Creating an index on a string-collection
in thread Creating an index on a string-collection

It does in  scalar context:
>perl -wMstrict -le "my $s = 'foobar'; print reverse $s, 'zot'; print scalar reverse $s, 'zot'; " zotfoobar tozraboof

Replies are listed 'Best First'.
Re^5: Creating an index on a string-collection
by samtregar (Abbot) on Feb 09, 2009 at 08:07 UTC
    Ah, thanks. Someday, when Perl is long gone, I'm not going to miss caring about what context my function calls are in!

    -sam