To me, it's uber-yuck on the level of putting spaces *before* commas. That said, I should also say something useful: download snippet.el. It's much better than cperl's electric mode, with a simple syntax to defined your own abbreviations, e.g. here.
Comment on Re^3: Emacs CPerl mode electric parentheses: get extra space in there?