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


in reply to chopping a string into slices - is there a more elegant way to do it?

You've received help with your actual problem. But, I will point out that the "No CPAN modules" restriction is a restriction only in your mind. The code is freely available - just cut'n'paste the subroutines you care about into your code. Attribute the original author if you have a conscience (and can do so in your shop) and move on. There have been several times where I've had to do that in my career.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: chopping a string into slices - is there a more elegant way to do it?

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.