Both scripts, your code and the above, produce the same output:#!/usr/bin/perl opendir D %{$fileToLoad$i}; opendir D %{$fileToLoad$i};
Scalar found where operator expected at err.pl line 6, near "$fileToLo +ad$i" (Missing operator before $i?) Scalar found where operator expected at err.pl line 14, near "$fileToL +oad$i" (Missing operator before $i?) syntax error at err.pl line 6, near "$fileToLoad$i" Missing comma after first argument to opendir function at err.pl line +6, near "};" syntax error at err.pl line 14, near "$fileToLoad$i" Missing comma after first argument to opendir function at err.pl line +14, near "};" Execution of err.pl aborted due to compilation errors.
In reply to Re: Anyone want to compress this a little more?
by olus
in thread Anyone want to compress this a little more?
by naveed010
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |