in reply to Re^3: More comprehensive style guide for Perl docs than perlpodstyle?
in thread More comprehensive style guide for Perl docs than perlpodstyle?

This one is easier to remember if you know of languages with functions like LEFT, RIGHT, and MID (or MIDSTR).
And substr is the equivalent of MID, while you obviously see it as LEFT …
# untested, as usual :-) and without the "replace" functionality sub midstr { return substr(shift, shift, shift); } sub leftstr { return substr(shift, 0, shift); } sub rightstr { return substr(shift, -shift); }
  • Comment on Re^4: More comprehensive style guide for Perl docs than perlpodstyle?
  • Download Code