|Think about Loose Coupling|
Confusing syntax error with grepby gumpu (Friar)
|on Aug 12, 2004 at 13:57 UTC||Need Help??|
gumpu has asked for the wisdom of the Perl Monks concerning the following question:
Hello fellow monks,
I am working on a little module to scan a whole tree of sourcefiles for use with Vim. One of the methods is:
The odd thing is that the second grep works fine while the first grep results in a: 'Not enough arguments for grep at scan.pl line 63, near "@files )"'. The only difference between the two is that the first has a '(' ')' pair less. I am quite puzzled why this makes a difference, since both
seem to me to be syntactically correct expression.
Can anybody shed some light on this?