in reply to Re^2: Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
in thread Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE

You need only $_
foreach (@files) { open FILE, "$_" or die "error opening $_: $!"; ... }

Here is a cool video at google explaining glob
http://www.youtube.com/v/j5vWBhq49ps&rel=1
  • Comment on Re^3: Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
  • Download Code