- or download this
$ perl -c crates
syntax error at crates line 7, near "foreach @line "
crates had compilation errors.
...
syntax error at crates line 7, near "foreach @line "
crates had compilation errors.
at crates line 10.
- or download this
$ perldoc perlintro | grep foreach
the more friendly list scanning "foreach" loop.
...
Instead of using "given()", you can use a "foreach()" loop. For ex
+ample,
requires initialization, such as a subroutine or a "foreach" loop.
+ It
- or download this
$ perl -c crates
Global symbol "$line" requires explicit package name at crates line 7.
crates had compilation errors.
- or download this
$ perl -c crates
crates syntax OK