in reply to What this mean !$var ?

Hellena:

The !$varname construct is the ! operator followed by the variable $varname. The ! operator is logical negation--but I pronounce it mentally as "not". So your line of code, in my head, reads as: "if $results{$line} is 1 and not $dump_done then...".

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^2: What this mean !$var ?
by Hellena (Initiate) on Feb 19, 2013 at 15:35 UTC
    Aha understand now it mean: if $results{$line} is 1 and not $dump_done then expression is true for firs element cose not $dump_done = 0 and for next element expression is false cose not $dump_done = 1 Am I right?

      Hellena:

      Yes, that's right.

      ...roboticus

      When your only tool is a hammer, all problems look like your thumb.