Do you know where your variables are? | |
PerlMonks |
Possible Bug?by dru145 (Friar) |
on Apr 16, 2002 at 20:32 UTC ( [id://159617]=note: print w/replies, xml ) | Need Help?? |
tachyon and fellow monks, I took out ENCTYPE, and it still did not work. I know my file arrived ok, because I tested it with this code: When I print out @lines, it prints out the file I just uploaded. Also, this bit of error checking seems to work because if I don't enter a filename, I get the error "File was not uploaded correctly." Next, I started looking at my hash. Now, here is the strange part. This code works fine: I can print out @ips in the results page, but then I tried this: and @names would not print out. I also tried this: and now @ips does not print out. I tried the last two bits of code in a non-CGI script, and they both print out as expected. Do you think I stumbled on a possible bug? I would appreciate any suggestion since this is driving me crazy. Thanks, Dru Another satisfied monk.
In Section
Seekers of Perl Wisdom
|
|