On Thu, Jul 08, 2004 at 09:12:16PM +1000, Gautam Gopalakrishnan wrote:
> about string subscripting. Since $a[0] cannot be mistaken for array subscripting
> anymore, could this now be used to peep into scalars? Looks easier than using

   Are there plans in Perl 6 for string modifiers? As they are in bash
eg.:
        ${var%glob_or_regexp}
        ${var%%glob_or_regexp}
        ${var#glob_or_regexp}
        ${var##glob_or_regexp}
        ${var/pattern/string}
        ${var:[+-=]word}

    Best regards

                                        Hans Ginzel

Reply via email to