Syntactic Confectionery Delight | |
PerlMonks |
Re^4: Hash of Arrays or Arrays of arrays? and how proceed?by paride (Initiate) |
on Aug 03, 2011 at 08:42 UTC ( [id://918204]=note: print w/replies, xml ) | Need Help?? |
now all work ....but I realized I need a more complex solution... :( I've transformed $nextfield in an array because of two different DB could have 1 ore more fields less than the other one, and the result is OK! printing Dumper (when @Database is ("5","6"): $VAR1 = \'6'; $VAR2 = 'AP', 'AO' ; $VAR3 = 'AA', 'AB', 'AC', 'AD', 'AE', 'AF', 'AG', 'AH', 'AI', 'AJ', 'AK', 'AL', 'AM', 'AN' ; But to proceed correctly I need a different @fields($VAR3) for every database, and to reach the top of my desired target I would like to add other attributes to the sigle field. For example AA,5(dimension),N(numeric) etc. I know it's very complex jethro, when I start with the idea to do this script I didn't expect it will be so complex. But I think this could be an excellent way to learn perl in dept
In Section
Seekers of Perl Wisdom
|
|