#perl - Mon 19 Mar 2007 between 09:21 and 09:38



l1sthanks :D
f00li5heval: my %hash = (a => nice , little => hash ); [ \%hash, qw/ references are invincivle / ]
buubotf00li5h: [{little => 'hash',a => 'nice'},'references','are','invincivle']
l1stherefore ... @{ %foo } if you have a hash with arrays
annohuh?
read up on it, don't guess
l1s@bla[0] = @{%blabla = (bla -> bla, bla -> bla)} ??
f00li5hl1s: read. the. docs.
l1sokok
rindolfperlbot: references > l1s
perlbot: TAP
perlbotTest Anything Protocol - http://testanything.org/wiki/index.php/Main_Page
rindolfperlbot: good perlbot
perlbot<purrrrrrr /> <woof /> <tail-wag />
rindolfLeibsle: here?
He's been idle for over 13 hours.
l1shm
:D sry guys.... is it push(@foo, {%bar}); ?? or push(@foo, ($bar)); or push(@foo, $bar); i initialized bar as %bar
imMutelis, wtf?
l1sgna
sorry....
imMute$bar and %bar are two *completely* different things, that just happen to have the same name
l1syes
actionimMute points lis to 'perldoc perlreftut' and 'perldoc perldsc'
imMutepoints lis to 'perldoc perlreftut' and 'perldoc perldsc'
actionCPAN upload: POE-Component-Server-SimpleSMTP-0.96 by BINGOS
CPANupload: POE-Component-Server-SimpleSMTP-0.96 by BINGOS
l1shm imMute can you maybe simply tell me the push syntax if i want to push a hash into an array?
please
ok
BinGOsYou can only store scalars in an array
l1s7 programming language i look on my own
na
that cant be
BinGOsa hashref is a scalar
therefore you store a reference to a hash in an array.
not a hash
l1si cant copy?!?
hmmmm
BinGOspush @foo, \%bar; or push @foo, { %bar }; will do.
l1s:D
ok thanks

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 96 103 110 117 

IrcArchive