Shawn wrote: > > From: "Marco Antonio Valenzuela Escárcega" <[EMAIL PROTECTED]> > > > > here's the problem: when you try to concatenate the hash to the string > > you are evaluating it in scalar context, and that's why it gives you the > > number of used buckets > > > > this should work: > > $self->{DEBUG}.=" SOMEPARAM: @{[%{$self->{SOMEPARAM}}]}\n"; > > Ok, I will agree, this is VERY ugly :-) But it does to exactly what > I was looking for. Let me ask this now: Is '%' not ever interpolated > into a string
No. > as '$' and '@' are? '$' has always been interpolated but '@' has only been interpolated since Perl5. perldoc perltrap [snip] Interpolation Traps Perl4-to-Perl5 traps having to do with how things get interpolated within certain expressions, statements, con texts, or whatever. · Interpolation @ now always interpolates an array in double-quotish strings. print "To: [EMAIL PROTECTED]\n"; # perl4 prints: To:[EMAIL PROTECTED] # perl5 errors : In string, @somewhere now must be written as \@somewhere John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]