and I'd like the output to be:$line =~ s/TITLE#(.*)#/$1/; chomp($1);
| TITLE | DATA-A | DATA-B | DATA-C |
|---|---|---|---|
| How are you | item1 | item2 | item3 |
| item1a | item2b | item3c | |
| I am fine | item4 | item5 | item6 |
In reply to Looking for Perl Elegance! by perlNinny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |