http://www.perlmonks.org?node_id=654771


in reply to Closures clarification

$a and $b are special variables and are exempt from use strict;. But the "outer" $a is different from your inner, lexical $a.

Replies are listed 'Best First'.
Re^2: Closures clarification
by props (Hermit) on Dec 04, 2007 at 13:20 UTC
    Corion now i get the proper error as logic commands Thanks!!