in reply to Re^18: chopping a string into slices - is there a more elegant way to do it?
in thread chopping a string into slices - is there a more elegant way to do it?

Simplified rules that never fail are not "unnecessary myths".

Exactly.

Removing parens to the definition of list is simpler then the same definition without parens.

vs

Using parens in the definition of list has failed.

  • Comment on Re^19: chopping a string into slices - is there a more elegant way to do it?

Replies are listed 'Best First'.
Re^20: chopping a string into slices - is there a more elegant way to do it?
by LanX (Saint) on Dec 01, 2008 at 17:10 UTC
    less confusion, more easily readable syntax.

    AFAIR Perl 6 addresses this mess by changing the syntax.

    Cheers Rolf

    UPDATE: unfortunately the question I was referring to was "updated" away ...