in reply to Re^4: To read files from two dir
in thread To read files from two dir
And before the perl interpreter gives up at line 1199 with the syntax error ("missing right curly..."), it reports dozens of warnings about "'my' variable ... masks earlier declaration in same scope ...".
Note that the 1199 lines you managed to post DO NOT INCLUDE any of the line numbers cited in the error messages you've mentioned so far in this thread (1497, 1601, 1657).
I did notice something that looks like it could be a mistake at line 125:
Note the two open-curly brackets -- kinda looks like a typo. Funny thing... there's a close curly bracket at line 127 (that finishes the block that starts with the second open-curly). But there's no matching close-curly for that first open-curly -- across the nearly 1000 following lines (until the end of what's posted).foreach my $SRC_DIR(@dir) {{
You're obviously out of your depth here. Consider some simple questions:
You may think we're ganging up on you and giving you a hard time, but we're just trying to get you to do something with some hint of competence.
|
---|