in reply to Re: Re: Question of variable interpolation in regex
in thread Question of variable interpolation in regex
I solved the 1st problem you rose when $putNum is decided. If the line being considered is either the top or bottom line, $putNum is false.
Take a look at my scratch pad for the full code
As to your second point, tmtowtdi. ;-)
But I see I still haven't been clear. :-(
the output I'm seeing is
When what I want is+----+----+----+----+ |1 |1 |1 |1 | | | | | | | | | | | +----+----+----+----+
Update:+----+----+----+----+ |1 |2 |3 |4 | | | | | | | | | | | +----+----+----+----+
Take a look at my scratch pad for the full code
|
---|
In Section
Seekers of Perl Wisdom