in reply to Re: Restarting counters in text
in thread Restarting counters in text
Refer for the syntax rules before any thing fails :-) -Dinakar$_ =~ s/<exm>/'<exm num="'.$exmno++.'">'/egs; if ($_ !~ /^<exm.*?$/) { $exmno=0; }
Edited - Added code tags (davorg)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Restarting counters in text
by davorg (Chancellor) on Aug 10, 2006 at 11:39 UTC | |
by udinakar (Novice) on Aug 10, 2006 at 11:45 UTC |