in reply to Re: for loop
in thread for loop
just prints <table><tgroup cols="3">3</table>while (<IN>) { s{(<tgroup cols="(.*?)">)}{ "$1\n" . (map { "<colspec colnum='$_' colname='$_'/>\n" } 1..$2) }eg; print OUT; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: for loop
by ikegami (Patriarch) on Aug 11, 2008 at 08:09 UTC | |
by texuser74 (Monk) on Aug 11, 2008 at 08:16 UTC |