http://www.perlmonks.org?node_id=352205


in reply to In Perl 6 that's just...
in thread look for substrings and getting their location

say "\t", $_.pos for @$0;

Can $_.pos here be written as .pos?

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Replies are listed 'Best First'.
Re: Re: In Perl 6 that's just...
by TheDamian (Vicar) on May 10, 2004 at 20:59 UTC
    It can. I used the longer form because I was trying to keep the Perl 5 version as similar as possible to the Perl 6 version.

    Damian