in reply to •Re: modifying list of numbers
in thread modifying list of numbers

Oh okay. I was just trying to make things simplier. In that case, if I must list all dates... how would I append the current year to the end of the list? What modifications would i need for this code:
my $year = 2003 s/(copyright\s+)(\d{4})(?:-\d{4})?/$1 . ($2 eq $year ? $2:"$2-$year")/ +ie; <p>
Also can someone please explain what the above does?

thanks! jc