in reply to Re^4: var comparison
in thread var comparison
hmm, nobody gave you a code example ?
DB<100> @option{qw/a b c/}=() => (undef, undef, undef) DB<101> exists $option{a} => 1 #true DB<102> exists $option{d} => "" #false
but smart-match should be safe as long as you don't forget the quotes.
Cheers Rolf
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: var comparison
by nemesisgus (Acolyte) on Sep 09, 2012 at 02:03 UTC | |
by Anonymous Monk on Sep 09, 2012 at 08:47 UTC | |
by nemesisgus (Acolyte) on Sep 09, 2012 at 18:40 UTC |
In Section
Seekers of Perl Wisdom