in reply to Re^2: Perl db programming
in thread Perl db programming
when I print @data it seems to be giving me the number of lines in the SQL text. instead of the text itself.
The code you show looks like it should work to me although I don't see why you added that "$data1" to the end of the print line. If you print an array in scalar context you get the number of elements in the array - that is just the way perl works. If you are saying the code you quote isn't working then show us the output and tell us what you expect.
|
|---|