in reply to Re: Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
in thread Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
Thats what the the error said. Why $_ didnt get interpolated?
Why? while (@files) supposed to contain all available .txt filenames from '/data/text'
And i say while(@files) so to iterate one filename item after another in the loop so with the use of $_ i could open them and read the contents of it.
Did i made a syntax error in the code? Isn't while (@files) a valid statement meaning iterate on every item of array @files?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
by runrig (Abbot) on Dec 31, 2007 at 21:01 UTC | |
by Nik (Initiate) on Dec 31, 2007 at 21:25 UTC | |
by Joost (Canon) on Dec 31, 2007 at 21:32 UTC | |
by Fletch (Bishop) on Dec 31, 2007 at 23:27 UTC | |
by Nik (Initiate) on Jan 01, 2008 at 21:50 UTC | |
by Anonymous Monk on Jan 02, 2008 at 12:24 UTC | |
by jettero (Monsignor) on Dec 31, 2007 at 21:32 UTC | |
by Nik (Initiate) on Jan 01, 2008 at 21:43 UTC |