in reply to more then one string replacement

You can use the i modifier to make it case insensitive ... like :

$string =~ s/^description=/Summary:/gi;

$ perl -e 'do() || ! do() ;' Undefined subroutine &main::try