Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2002 00:10:13 +0500 (YEKT)
From:      =?koi8-r?B?6czY0SD7ydDJw8nO?= <ilia@chel.skbkontur.ru>
To:        questions@FreeBSD.ORG
Subject:   perl thing (again)
Message-ID:  <20020328000648.J83795-100000@sol.chel.skbkontur.ru>

next in thread | raw e-mail | index | archive | help
Well,

I was told by the list to use $ENV{'OSTYPE'} to ensure whether program
runs under FreeBSD or not. It works well from regular user shell, but from
crontab it says "Use of uninitialized value".

what is "good" way to ensure that program runs under FreeBSD ?
I mean, I need something which will work either from regulat shell or from
crontab or from whatever else ...

Regards, (=EE=C1=C9=CC=D5=DE=DB=C9=C5 =D0=CF=D6=C5=CC=C1=CE=C9=D1)
Ilia Chipitsine (=E9=CC=D8=D1 =FB=C9=D0=C9=C3=C9=CE)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020328000648.J83795-100000>