my $match = 0; my $post_body = ...from db...; $match++ while $post_body =~ s/<c>(.*?)<\/c>/<a href='download?part=$m +atch'>Download Me<\/a><pre>$1<\/pre>/i;
In reply to Re^2: perlmonks downloadable code blocks
by debiandude
in thread perlmonks downloadable code blocks
by debiandude
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |