in reply to check undef
In perl-5.10 and later you can also use the smart-match operator:
if ($WCkey ~~ undef && $SCeky ~~ undef && ... ) { }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: check undef
by srikrishnan (Beadle) on Jun 23, 2009 at 09:12 UTC | |
by Anonymous Monk on Jun 23, 2009 at 09:16 UTC |