How to check if perl is installed?

Hi,
i'm designing a unix script and i want to know if there is a shell command or a way to see if perl is installed in the system.
thanks in advance!

Depends on what "installed" means. But how about:

if perl < /dev/null > /dev/null 2>&1  ; then
      echo yes we have perl on  PATH
else
      echo dang... no perl
fi

installed means that i can run a perl script from the console.
I'll try that later, thanks!!

at the command line type the following:
perl -v

If perl is installed, this will report the version that was installed.

Perderabo, your script works nicely..
thanks!

are you checking for perl being in the user's PATH or for perl installed anywhere on the system? if checking for perl in the system, state your OS and version ... otherwise, disregard this post ...