if ($OS == SunOS ) {
The system call to uname returns a string, so you need a string comparison here:
if ($OS eq 'SunOS') {
HTH,
Athanasius <°(((>< contra mundum
In reply to Re^3: Getting error while executing the script
by Athanasius
in thread Getting error while executing the script
by arunkarthick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |