in reply to Anyone want to compress this a little more?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Anyone want to compress this a little more?
by halley (Prior) on Jan 11, 2008 at 17:33 UTC | |
by olus (Curate) on Jan 11, 2008 at 18:32 UTC | |
by naveed010 (Acolyte) on Jan 11, 2008 at 18:00 UTC | |
by blazar (Canon) on Jan 11, 2008 at 18:30 UTC | |
by olus (Curate) on Jan 11, 2008 at 19:04 UTC |