$ perl -e '1 ? my $c : my $d' Invalid separator character '$' in attribute list at -e line 1, near "$c : my " Execution of -e aborted due to compilation errors.