Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Re: Question of variable interpolation in regex

by SparkeyG (Curate)
on Nov 15, 2002 at 19:48 UTC ( #213251=note: print w/ replies, xml ) Need Help??


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.

As to your second point, tmtowtdi. ;-)

But I see I still haven't been clear. :-(
the output I'm seeing is

+----+----+----+----+ |1 |1 |1 |1 | | | | | | | | | | | +----+----+----+----+
When what I want is
+----+----+----+----+ |1 |2 |3 |4 | | | | | | | | | | | +----+----+----+----+
Update:
Take a look at my scratch pad for the full code


Comment on Re: Re: Re: Question of variable interpolation in regex
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://213251]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (19)
As of 2015-07-28 18:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls