in reply to perl undef value and eq and ==

I think what you really want is to use defined

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!