| l1s | thanks :D |
| f00li5h | eval: my %hash = (a => nice , little => hash ); [ \%hash, qw/ references are invincivle / ] |
| buubot | f00li5h: [{little => 'hash',a => 'nice'},'references','are','invincivle'] |
| l1s | therefore ... @{ %foo } if you have a hash with arrays |
| anno | huh? read up on it, don't guess |
| l1s | @bla[0] = @{%blabla = (bla -> bla, bla -> bla)} ?? |
| f00li5h | l1s: read. the. docs. |
| l1s | okok |
| rindolf | perlbot: references > l1s perlbot: TAP |
| perlbot | Test Anything Protocol - http://testanything.org/wiki/index.php/Main_Page |
| rindolf | perlbot: good perlbot |
| perlbot | <purrrrrrr /> <woof /> <tail-wag /> |
| rindolf | Leibsle: here? He's been idle for over 13 hours. |
| l1s | hm :D sry guys.... is it push(@foo, {%bar}); ?? or push(@foo, ($bar)); or push(@foo, $bar); i initialized bar as %bar |
| imMute | lis, wtf? |
| l1s | gna sorry.... |
| imMute | $bar and %bar are two *completely* different things, that just happen to have the same name |
| l1s | yes |
| action | imMute points lis to 'perldoc perlreftut' and 'perldoc perldsc' |
| imMute | points lis to 'perldoc perlreftut' and 'perldoc perldsc' |
| action | CPAN upload: POE-Component-Server-SimpleSMTP-0.96 by BINGOS |
| CPAN | upload: POE-Component-Server-SimpleSMTP-0.96 by BINGOS |
| l1s | hm imMute can you maybe simply tell me the push syntax if i want to push a hash into an array? please ok |
| BinGOs | You can only store scalars in an array |
| l1s | 7 programming language i look on my own na that cant be |
| BinGOs | a hashref is a scalar therefore you store a reference to a hash in an array. not a hash |
| l1s | i cant copy?!? hmmmm |
| BinGOs | push @foo, \%bar; or push @foo, { %bar }; will do. |
| l1s | :D ok thanks |