|Think about Loose Coupling|
File upload quit workingby Anonymous Monk
|on Jan 19, 2012 at 09:03 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I had this working perfectly, now all of a sudden, it is not. I have not changed the main code, yet the output variable is always blank now...
can you tell me if this is wrong?
That was populating the file contains variable every time. Now, $_tFileContains is blank, always. Yet the filename is there, so I know it is getting the file, I have tried a lot of different files, even ones that worked in the past. Nothing.
any idea why it would not work now?
Is there a better way to do it? I guess I could write it to a temporary file then just read the file to get the data and then parse it, then delete the file when I am done, but there must be a way to get this working.
I am not sure if maybe there was an update to perl that made it happen or what...
I would appreciate any help you can be.