I would actually find that illogical. The function is called substr and not left (as soonix already indicates). So for me it is logic to provide a start and an end index. And personally I hate it when people create optional arguments somewhere in the middle of an argument list and so I love it how substr is defined.
In reply to Re^4: More comprehensive style guide for Perl docs than perlpodstyle?
by Veltro
in thread More comprehensive style guide for Perl docs than perlpodstyle?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |