On Sunday, May 5, 2002, at 12:17 , Jonathan E. Paton wrote:
> And also there is no need to quote hash keys, and if $inner is just a > hash reference then the > following is a shorter replacement: > > print join (" : ", $_->{qw<dir tpl ext rgx>}) . "\n" for @$cfgs; I have not been able to get any variant of this to work. > Whilst I'm not implication you *should* use this form, but to be aware it > exists. The main trick > is to use a hash slice, E.g: > > ($value1, $value2) = $hash{'key1', 'key2'}; this blows Chow - with the 'unitialized value' if I try the complex process print "Of course $value1 and $value2 \n\t IS TRUE!\n"; > is the same as: > > ($value1, $value2) = ($hash{key1}, $hash{key2}); this works as advertised.... > > Naturally I haven't tested, but it should be okay... should... :P thank you for the fun time ... I thought it would be a great Idea to see if they really worked.... but.... Xin Loi.... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]