in reply to
Re: switching characters
in thread
switching characters
Actually I now see the issue.
What the regular expression to match the beginning of a string.?
I do belive $row =~ m/#/; is true for the first row. kd
Comment on
Re^2: switching characters
Replies are listed 'Best First'.
Re^3: switching characters
by
pc88mxer
(Vicar)
on Jan 11, 2008 at 21:14 UTC
you'll want to use
m/^#/
to match a # at the beginning of the line.
[reply]
[d/l]
Re^4: switching characters
by
kevind0718
(Scribe)
on Jan 11, 2008 at 21:24 UTC
thanks
kd
[reply]
In Section
Seekers of Perl Wisdom