On 3/21/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: snip
my %customer = ${customer};
snip
Hashes cannot be created with only one value, they must always be in pairs: key and value. If $customer has a type of HASH (you can put print ref($customer), "\n"; in the code to check this) then you need to say my %customer = %$customer; to dereference the hashref. snip
my %env = $transaction->Creator; my %env = ${env};
snip I have no idea why you are declaring %env twice. I also don't know why you aren't getting an error due to the fact that $env is never declared. I must assume this is not a direct copy of what you are working with. If $transaction->Creator returns a list of key-value pairs then that line is fine; if it returns a hashref instead then you need to wrap it in %{} like this my %env = %{$transaction->Creator}; snip
$env{$user} = $transaction->TimeTaken;
snip Again, unless $transaction->TimeTaken returns a list of key-value pairs you have a problem here. You should check your documentation to see what the return values of these methods are. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/