>
>
> Im sorry but I pressed send before typing thanks....
>
> Lior Amir wrote:
>
> > Hello All,
> > How do I check if a varialbe is or is not defind?
> >
Use "defined()", as in "print if defined $switch{'D'};".
For more info read "perldoc -f defined".
You're welcome :-)
Offer Kaye