in reply to Array Manipulation
When running this bit of script:syntax error at ./new.pl line 6, near ") {" Execution of ./new.pl aborted due to compilation errors.
#! /usr/bin/perl -w my @files= <*.in> for (@files) { s/[.]in//g } say $_ for @files;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Array Manipulation
by Corion (Patriarch) on Oct 08, 2013 at 09:03 UTC | |
by Jalcock501 (Sexton) on Oct 08, 2013 at 09:06 UTC | |
|
Re^2: Array Manipulation
by Anonymous Monk on Oct 08, 2013 at 09:06 UTC |