in reply to CGI::Session raises inconsistent error 'Can't modify constant item in scalar assignment'
You can get that sort of thing if you apply a substitution to one of the capture variables:
$1 =~ s/1/2/; [download]