Charles K. Clarkson [CKC], on Monday, November 15, 2004 at 10:00 (-0600) wrote:
CKC> ( $seen{$item} ? $seen{$item}++ : $seen{$item} ) = 1; CKC> When you probably meant this: CKC> $seen{$item} ? ($seen{$item}++) : ($seen{$item} = 1); CKC> According to the docs: "The operator may be assigned to CKC> if both the 2nd and 3rd arguments are legal lvalues." A CKC> post increment is not a valid lvalue. You are basically CKC> saying this. thanks for clean explanation. Now I'm a bit smarter :) -- ...m8s, cu l8r, Brano. [Alamak!!!] -=x=- Skontrolované antivírovým programom NOD32 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>