Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
substr($record, $FifthCollumEnds, $SixthCollumEnds-1); Without reading your code, it looks like you are misunderstanding the substr syntax. The third argument is supposed to be length, but what you are passing looks like an end offset. If I read that right, you might try:
Still looks like an off-by-one error waiting to happen though.
print "Just another Perl ${\(trickster and hacker)},"
In reply to Re: substr Rampage
by Sidhekin
|
|