in reply to Re: Alternative to substr on unknown length of scalar
in thread Alternative to substr on unknown length of scalar

Because I get annoying warnings (if they are turned on) for setting the length to 6 if a string is shorter than that.

Cheers,
PerlingTheUK
  • Comment on Re^2: Alternative to substr on unknown length of scalar