#!/usr/bin/perl use strict; my $max = 3; my $counter = 1; while (<DATA>) { chomp; print "${_}$counter\n"; $counter == $max ? $counter = 1 : $counter++; } __DATA__ test test test test test test
In reply to Re: search and replace with serialized answers
by bichonfrise74
in thread search and replace with serialized answers
by TheBigAmbulance
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |