or download this
"my" variable $folderPath masks earlier declaration in same scope at C
+:\gash.pl
line 17.
...
syntax error at C:\gash.pl line 14, near "<TList.Item>]"
syntax error at C:\gash.pl line 68, near "print"
Execution of C:\gash.pl aborted due to compilation errors.