Tuna has asked for the wisdom of the Perl Monks concerning the following question:
Here's what it fails with:50. foreach $key (keys %hash) { 51. my $tmp = $_; 52. my $cmd = "$program $key $matrix "; 53. $cmd .= "$config_path/CISCO_$tmp.clean " for @{$hash{$key}}; 54. system($cmd) == 0 || die "$cmd failed:$!\n"; 55. }
I have no idea why this is failing. And, it needs to be run on the machine that it fails on.syntax error at ./cflowd-config-gen.pl line 53, near ""$config_path/CI +SCO_$tmp.clean " for " syntax error at ./cflowd-config-gen.pl line 53, near "}}" Execution of ./cflowd-config-gen.pl aborted due to compilation errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Works on one machine, fails on another
by tye (Sage) on Feb 01, 2001 at 23:04 UTC | |
|
Re: Works on one machine, fails on another
by runrig (Abbot) on Feb 01, 2001 at 22:57 UTC | |
by arturo (Vicar) on Feb 01, 2001 at 23:02 UTC |