in reply to
Re: substring too short and I don't care
in thread
substring too short and I don't care
That will silently discard any line with length < 279! I think you meant to print outside the if...
Comment on
Re^2: substring too short and I don't care
Replies are listed 'Best First'.
Re^3: substring too short and I don't care
by
Transient
(Hermit)
on Aug 20, 2005 at 03:43 UTC
Correct - I didn't read that the OP wanted to keep the line. The intent was to show how to get past the substr error, the skipping of the print statement was not intended to be of consequence.
[reply]
In Section
Seekers of Perl Wisdom