I found that spaces in prototypes are not tolerated:
F:\perl52\lib>perl -we "sub a ( \$ ) {print shift} a($1,$2)"
Malformed prototype for main::a: \$ at -e line 1.
This is very unfortunate for Emacs since having
sub a ($) {blah}
will leave `)' to be "quoted" by `$', thus leaving `(' unbalanced. I
think that the blanks on the boundary of a prototype may be swallowed
by the parser, any objections?
Ilya
F:\perl52\lib>perl -we "sub a ( \$ ) {print shift} a($1,$2)"
Malformed prototype for main::a: \$ at -e line 1.
This is very unfortunate for Emacs since having
sub a ($) {blah}
will leave `)' to be "quoted" by `$', thus leaving `(' unbalanced. I
think that the blanks on the boundary of a prototype may be swallowed
by the parser, any objections?
Ilya