in reply to Re^4: Slovenian characters problem
in thread Slovenian characters problem
Regarding the second call to $SheetOut->write(), there are two issues you need to consider (and describe for us, if you still need us to help):
1. In what way is the result not correct? What do you actually get in place of the data you wanted to get? Is it partially bad, or completely bad? Do you see one or more question marks? Do you see nonsense characters?
2. What sort of data is actually stored in that element of the "$Test" AoH, which you want to put into your spreadsheet? Where does it come from? What other steps in your code have had an effect on that item of data before you pass it to $SheetOut->write() ?
For the second issue, it might suffice just to print out the contents of $Test[0]->{Col1} in some explicit way -- probably the best bet would be Data::Dumper...
Based on what that shows, it might be fairly simple to figure out the cause of the trouble.use Data::Dumper 'Dumper'; ... print Dumper( $Test[0] ); # display contents of anon.hash, including +{Col1} ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Slovenian characters problem
by JackVanRamars (Novice) on Aug 18, 2010 at 05:32 UTC | |
by graff (Chancellor) on Aug 18, 2010 at 08:04 UTC | |
by JackVanRamars (Novice) on Aug 18, 2010 at 10:58 UTC | |
by JackVanRamars (Novice) on Aug 18, 2010 at 11:50 UTC |