Subject: | empty signatures '()' result in illegal syntax: |
A signature which indicates no arguments are expected, e.g.
sub() {}
translates into illegal syntax under perl 5.10.1:
% echo 'sub() { }' | perl -MBabble::Filter=::CoreSignatures -0777 -pe babble
sub { my () = @_; }
% perl -V:version
version='5.10.1';
% perl -e 'sub { my () = @_; }'
Can't declare stub in "my" at -e line 1, near ") ="
Execution of -e aborted due to compilation errors.