"Sean D. Rowe" wrote: > > ( this message was accidentally submitted under the subject RE: getpid? > Sorry ) > > I'm having a very strange problem that I'm hoping someone has come across > before. I'm using a hash to collect some field values. I want to write the > hash values to file, and I want them delimited by the '|' character, so I > use > > my $LineToWrite = join('|', hash_var_1, ..., hash_var_n) . "\n";
my $LineToWrite = join( '|', values %hash ) . "\n"; > I use this hash to get several different lines of field values, so this last > statement is in a function that gets called several times. The first time it > gets called, everything is fine. However, each time after, I get something > like this at the beginning of the $LineToWrite variable: > > HASH(0x1c67fc4) > > I also printed out each individual hash value, and I can't find anything > like this. What's going on? Any help would be appreciated. Thanks. This is a reference to a hash. perldoc perlref John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]