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

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.
      thanks

      kd