Sounds like a bad patch.
@@_ is a syntax error. At least when I have the following Perl source file:
#!/usr/bin/perl use strict; use warnings; sub foo { my ($genfd) = @@_; }
running perl -cw on it (with Perl 5.14.2) gives:
Bareword found where operator expected at tmp.pl line 7, near "@@_" (Missing operator before _?) syntax error at tmp.pl line 7, near "@@_" tmp.pl had compilation errors.
I did not consider all the examples on GitHub, but many of them are in files with a suffix ,v . This suffix is ββused by RCS and CVS for their internal version control files. I think the @ symbol has some special meaning, so it doubles to indicate the @ symbol. (Yes, itβs a little strange to have internal RCS or CVS files in the Git repository.)
Some RCS or CVS interaction is the most likely explanation for the error, but there may be other reasons.
You should ask the person who provided the patch.
Keith thompson
source share