Nice hash slice, thanks!
Just let me polish up your code so other newbies don't get confused:
my %option; @option{qw/a b c/}=(); # my %option = ( # 'a' => undef, # 'b' => undef, # 'c' => undef # ); exists $option{a} and print 'true'; exists $option{d} or print 'false';
PS: what the h**l is DB <...> ?
In reply to Re^6: var comparison
by nemesisgus
in thread var comparison
by nemesisgus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |