in reply to Re: Have a multiple file in directory and want to manipulate in each files in incremental order. All the file have same value.
in thread Have a multiple file in directory and want to manipulate in each files in incremental order. All the file have same value.

It should read
foreach my $file (readdir DIR)
instead of
foreach my @file (readdir DIR)
Note the $ instead of the @.
  • Comment on Re^2: Have a multiple file in directory and want to manipulate in each files in incremental order. All the file have same value.
  • Select or Download Code