my $acc = "New Group:"; while (<IN>) { chomp(); $acc .= " $1" if m|<ref\s+id="([^"]+)">|; print "$acc\n" and $acc = "New Group:" if m|</end>|; }
In reply to Re: problem with array
by repellent
in thread problem with array
by texuser74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |